Struct webdriver::capabilities::SpecNewSessionParameters
source · pub struct SpecNewSessionParameters {
pub alwaysMatch: Capabilities,
pub firstMatch: Vec<Capabilities>,
}
Fields§
§alwaysMatch: Capabilities
§firstMatch: Vec<Capabilities>
Implementations§
source§impl SpecNewSessionParameters
impl SpecNewSessionParameters
fn validate<T: BrowserCapabilities>( &self, capabilities: Capabilities, browser_capabilities: &mut T, ) -> WebDriverResult<Capabilities>
fn validate_page_load_strategy(value: &Value) -> WebDriverResult<()>
fn validate_proxy(proxy_value: &Value) -> WebDriverResult<()>
fn validate_no_proxy(value: &Value) -> WebDriverResult<()>
sourcefn validate_host(value: &Value, entry: &str) -> WebDriverResult<()>
fn validate_host(value: &Value, entry: &str) -> WebDriverResult<()>
Validate whether a named capability is JSON value is a string containing a host and possible port
fn validate_timeouts(value: &Value) -> WebDriverResult<()>
fn validate_unhandled_prompt_behaviour(value: &Value) -> WebDriverResult<()>
Trait Implementations§
source§impl CapabilitiesMatching for SpecNewSessionParameters
impl CapabilitiesMatching for SpecNewSessionParameters
source§fn match_browser<T: BrowserCapabilities>(
&self,
browser_capabilities: &mut T,
) -> WebDriverResult<Option<Capabilities>>
fn match_browser<T: BrowserCapabilities>( &self, browser_capabilities: &mut T, ) -> WebDriverResult<Option<Capabilities>>
Match the BrowserCapabilities against some candidate capabilites Read more
source§impl Debug for SpecNewSessionParameters
impl Debug for SpecNewSessionParameters
source§impl Default for SpecNewSessionParameters
impl Default for SpecNewSessionParameters
source§impl<'de> Deserialize<'de> for SpecNewSessionParameters
impl<'de> Deserialize<'de> for SpecNewSessionParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SpecNewSessionParameters
impl PartialEq for SpecNewSessionParameters
source§fn eq(&self, other: &SpecNewSessionParameters) -> bool
fn eq(&self, other: &SpecNewSessionParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpecNewSessionParameters
impl Serialize for SpecNewSessionParameters
impl StructuralPartialEq for SpecNewSessionParameters
Auto Trait Implementations§
impl Freeze for SpecNewSessionParameters
impl RefUnwindSafe for SpecNewSessionParameters
impl Send for SpecNewSessionParameters
impl Sync for SpecNewSessionParameters
impl Unpin for SpecNewSessionParameters
impl UnwindSafe for SpecNewSessionParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more