pub struct FirefoxConfig {
pub host: Option<String>,
pub capabilities: FirefoxCapabilities,
pub proxy: Option<ProxyConfiguration>,
pub launch_mode: FirefoxLaunchMode,
pub remote_debugging_port: Option<u16>,
pub firefox_executable_path: Option<String>,
pub profile_dir: Option<String>,
pub browser_flags: Option<Vec<String>>,
}Expand description
Configuration for Firefox browser.
Fields§
§host: Option<String>Host (default: localhost).
capabilities: FirefoxCapabilitiesFirefox capabilities for configuring browser behavior.
proxy: Option<ProxyConfiguration>Optional proxy configuration.
launch_mode: FirefoxLaunchModeHow Firefox is launched and managed.
remote_debugging_port: Option<u16>Remote debugging port for Firefox BiDi WebSocket. Auto-assigned if None.
firefox_executable_path: Option<String>Path to Firefox executable. Defaults to auto-downloaded Firefox if not specified.
profile_dir: Option<String>Firefox profile directory. If not specified, uses a temporary directory.
browser_flags: Option<Vec<String>>Additional Firefox command-line arguments.
Trait Implementations§
Source§impl Clone for FirefoxConfig
impl Clone for FirefoxConfig
Source§fn clone(&self) -> FirefoxConfig
fn clone(&self) -> FirefoxConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FirefoxConfig
impl Debug for FirefoxConfig
Source§impl Default for FirefoxConfig
impl Default for FirefoxConfig
Source§fn default() -> FirefoxConfig
fn default() -> FirefoxConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FirefoxConfig
impl RefUnwindSafe for FirefoxConfig
impl Send for FirefoxConfig
impl Sync for FirefoxConfig
impl Unpin for FirefoxConfig
impl UnsafeUnpin for FirefoxConfig
impl UnwindSafe for FirefoxConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more