pub struct Browser {Show 66 fields
pub mode: BrowserMode,
pub debug: bool,
pub head_check: bool,
pub document_matcher: String,
pub max_success_clicks: i32,
pub max_click_attempts: usize,
pub on_click_matcher: String,
pub button_x_path_search: String,
pub max_scrolls: i32,
pub busy_wait: usize,
pub busy_retry: usize,
pub identifiers: BrowserIdentifiers,
pub kind: String,
pub windows: usize,
pub multi_window: bool,
pub instances: usize,
pub multi_instance: bool,
pub args: Vec<String>,
pub browser_logging: BrowserLogging,
pub selenium: bool,
pub binary_path: String,
pub profile_path: String,
pub server_path: String,
pub driver_name: String,
pub driver_path: String,
pub extensions_path: String,
pub default_preferences_path: String,
pub headless: bool,
pub display: i32,
pub display_command: String,
pub browser_name: String,
pub wait_for_actions: bool,
pub action_wait_timeout: i32,
pub action_wait_internal_timeout: i32,
pub block_ads: bool,
pub block_images: bool,
pub block_video: bool,
pub pipeline: bool,
pub max_requests: i32,
pub max_connections: i32,
pub max_persistent_connections: i32,
pub cache: bool,
pub cache_size: i32,
pub history_size: i32,
pub page_load_timeout: u64,
pub script_load_timeout: u64,
pub implicit_element_find_timeout: u64,
pub conditional_timeout: u64,
pub conditional_polling: u64,
pub javascript: bool,
pub render_mode: BrowserRenderMode,
pub ssl_trust_all: bool,
pub reload_browser: bool,
pub close_overlays: bool,
pub reload_every_x_pages: i32,
pub enable_dev_tools: bool,
pub enable_default_extensions: bool,
pub enable_faster_extension: bool,
pub enable_plugins: bool,
pub network: BrowserNetwork,
pub setup_driver_max_attempts: i32,
pub socket_host: Option<String>,
pub socket_endpoint: Option<String>,
pub socket_port: Option<u16>,
pub socket_identifier: Option<String>,
pub browser_options: Option<BTreeMap<String, Value>>,
}
Fields§
§mode: BrowserMode
§debug: bool
§head_check: bool
§document_matcher: String
§max_success_clicks: i32
§max_click_attempts: usize
§on_click_matcher: String
§max_scrolls: i32
§busy_wait: usize
§busy_retry: usize
§identifiers: BrowserIdentifiers
§kind: String
§windows: usize
§multi_window: bool
§instances: usize
§multi_instance: bool
§args: Vec<String>
§browser_logging: BrowserLogging
§selenium: bool
§binary_path: String
§profile_path: String
§server_path: String
§driver_name: String
§driver_path: String
§extensions_path: String
§default_preferences_path: String
§headless: bool
§display: i32
§display_command: String
§browser_name: String
§wait_for_actions: bool
§action_wait_timeout: i32
§action_wait_internal_timeout: i32
§block_ads: bool
§block_images: bool
§block_video: bool
§pipeline: bool
§max_requests: i32
§max_connections: i32
§max_persistent_connections: i32
§cache: bool
§cache_size: i32
§history_size: i32
§page_load_timeout: u64
§script_load_timeout: u64
§implicit_element_find_timeout: u64
§conditional_timeout: u64
§conditional_polling: u64
§javascript: bool
§render_mode: BrowserRenderMode
§ssl_trust_all: bool
§reload_browser: bool
§close_overlays: bool
§reload_every_x_pages: i32
§enable_dev_tools: bool
§enable_default_extensions: bool
§enable_faster_extension: bool
§enable_plugins: bool
§network: BrowserNetwork
§setup_driver_max_attempts: i32
§socket_host: Option<String>
§socket_endpoint: Option<String>
§socket_port: Option<u16>
§socket_identifier: Option<String>
§browser_options: Option<BTreeMap<String, Value>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Browser
impl<'de> Deserialize<'de> for Browser
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
Auto Trait Implementations§
impl Freeze for Browser
impl RefUnwindSafe for Browser
impl Send for Browser
impl Sync for Browser
impl Unpin for Browser
impl UnwindSafe for Browser
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