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.

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 Parameters for NewSessionParameters
[src]

impl ToJson for NewSessionParameters
[src]

Converts the value of self to an instance of JSON

impl CapabilitiesMatching for NewSessionParameters
[src]

Match the BrowserCapabilities against some candidate capabilites Read more