Enum webdriver::command::NewSessionParameters[][src]

pub enum NewSessionParameters {
    Spec(SpecNewSessionParameters),
    Legacy(LegacyNewSessionParameters),
}

Wrapper around the two supported variants of new session paramters.

The Spec variant is used for storing spec-compliant parameters whereas the legacy variant is used to store desiredCapabilities/requiredCapabilities parameters, and is intended to minimise breakage as we transition users to the spec design.

Variants

Trait Implementations

impl Debug for NewSessionParameters
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NewSessionParameters
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for NewSessionParameters
[src]

Deserialize this value from the given Serde deserializer. Read more

impl CapabilitiesMatching for NewSessionParameters
[src]

Match the BrowserCapabilities against some candidate capabilites Read more

Auto Trait Implementations