[][src]Struct thirtyfour::common::capabilities::firefox::FirefoxCapabilities

pub struct FirefoxCapabilities { /* fields omitted */ }

Methods

impl FirefoxCapabilities[src]

pub fn new() -> Self[src]

pub fn add_firefox_option<T>(
    &mut self,
    key: &str,
    value: T
) -> WebDriverResult<()> where
    T: Serialize
[src]

Add the specified firefox option. This is a helper method for the various specific option methods.

pub fn set_logging_prefs(
    &mut self,
    component: String,
    log_level: LoggingPrefsLogLevel
)
[src]

Set the selenium logging preferences. To set the geckodriver log level, use set_log_level() instead.

pub fn set_log_level(&mut self, log_level: LogLevel) -> WebDriverResult<()>[src]

Set the geckodriver log level.

pub fn set_firefox_binary(&mut self, path: &Path) -> WebDriverResult<()>[src]

Set the path to the firefox binary.

pub fn set_page_load_strategy(
    &mut self,
    strategy: PageLoadStrategy
) -> WebDriverResult<()>
[src]

Set the page load strategy to use. Valid values are: normal (the default)

pub fn set_profile(&mut self, profile: FirefoxProfile) -> WebDriverResult<()>[src]

Set the firefox profile settings to use.

Trait Implementations

impl Capabilities for FirefoxCapabilities[src]

impl Clone for FirefoxCapabilities[src]

impl Debug for FirefoxCapabilities[src]

impl Default for FirefoxCapabilities[src]

impl Serialize for FirefoxCapabilities[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.