Expand description
Firefox browser options and preferences. Firefox command-line options and configuration.
Provides a type-safe interface for configuring Firefox process options such as headless mode, window size, and other command-line arguments.
§Example
ⓘ
use firefox_webdriver::FirefoxOptions;
let options = FirefoxOptions::new()
.with_headless()
.with_window_size(1920, 1080)
.with_private();
let args = options.to_args();
// ["--headless", "--window-size", "1920,1080", "--private-window"]Structs§
- Firefox
Options - Firefox process configuration options.