Struct thirtyfour_sync::ScriptArgs [−][src]
pub struct ScriptArgs { /* fields omitted */ }
Expand description
Re-export common types.
Helper struct for constructing arguments for WebDriver::execute_script()
and WebDriver::execute_async_script()
.
See the examples for those methods for more info.
Implementations
Create a new, empty ScriptArgs struct.
Push a JSON value onto the vec.
pub fn push<T>(&mut self, value: T) -> Result<&mut ScriptArgs, WebDriverError> where
T: Serialize,
pub fn push<T>(&mut self, value: T) -> Result<&mut ScriptArgs, WebDriverError> where
T: Serialize,
Push any Serialize-able object onto the vec. This includes WebElement.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScriptArgs
impl Send for ScriptArgs
impl Sync for ScriptArgs
impl Unpin for ScriptArgs
impl UnwindSafe for ScriptArgs
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more