/// Execute the specified Javascrypt asynchronously and return the result
/// as a serde_json::Value.
Execute the specified Javascrypt asynchronously and return the result
as a serde_json::Value.
Execute the specified Javascrypt asynchronously and return the result as a serde_json :: Value .
pub fn execute_async_script(
        &self,
        script: &str,
        args: Vec<serde_json::Value>,
    ) -> WebDriverResult<serde_json::Value> {
        let v = self.conn.execute(Command::ExecuteAsyncScript(
            &self.session_id,
            script.to_owned(),
            args,
        ))?;
        Ok(v["value"].clone())
    }
pub fn execute_async_script ( & self , script : & str , args : Vec < serde_json :: Value > , ) -> WebDriverResult < serde_json :: Value > { let v = self . conn . execute ( Command :: ExecuteAsyncScript ( & self . session_id , script . to_owned ( ) , args , ) ) ? ; Ok ( v [ " " ] . clone ( ) ) }
Execute the specified Javascrypt asynchronously and return the result
as a serde_json::Value.
Execute the specified Javascrypt asynchronously and return the result as a serde_json :: Value .
&self
script
&str
args
Vec<serde_json::Value>