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