[−][src]Struct webdriver_client::messages::NewSessionCmd
The arguments to create a new session, including the capabilities as defined by the WebDriver specification.
Methods
impl NewSessionCmd
[src]
pub fn always_match(&mut self, key: &str, value: JsonValue) -> &mut Self
[src]
Merges a new alwaysMatch
capability with the given key
and
value
into the new session's capabilities.
For the merging rules, see the documentation of
webdriver_client::util::merge_json
.
pub fn reset_always_match(&mut self) -> &mut Self
[src]
Resets the alwaysMatch
capabilities to an empty JSON object.
Trait Implementations
impl Default for NewSessionCmd
[src]
impl Serialize for NewSessionCmd
[src]
Auto Trait Implementations
impl RefUnwindSafe for NewSessionCmd
impl Send for NewSessionCmd
impl Sync for NewSessionCmd
impl Unpin for NewSessionCmd
impl UnwindSafe for NewSessionCmd
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,