/// Take a screenshot of this WebElement and return it as a base64-encoded
/// String.
Take a screenshot of this WebElement and return it as a base64-encoded
String.
Take a screenshot of this WebElement and return it as a base64 - encoded String .
pub fn screenshot_as_base64(&self) -> WebDriverResult<String> {
        let v = self.conn.execute(Command::TakeElementScreenshot(
            &self.session_id,
            &self.element_id,
        ))?;
        unwrap(&v["value"])
    }
pub fn screenshot_as_base64 ( & self ) -> WebDriverResult < String > { let v = self . conn . execute ( Command :: TakeElementScreenshot ( & self . session_id , & self . element_id , ) ) ? ; unwrap ( & v [ " " ] ) }
Take a screenshot of this WebElement and return it as a base64-encoded
String.
Take a screenshot of this WebElement and return it as a base64 - encoded String .
&self