pub struct LaunchOptions {Show 21 fields
pub headless: bool,
pub executable_path: Option<String>,
pub proxy: Option<String>,
pub proxy_bypass: Option<String>,
pub proxy_username: Option<String>,
pub proxy_password: Option<String>,
pub profile: Option<String>,
pub args: Vec<String>,
pub allow_file_access: bool,
pub extensions: Option<Vec<String>>,
pub storage_state: Option<String>,
pub user_agent: Option<String>,
pub ignore_https_errors: bool,
pub color_scheme: Option<String>,
pub download_path: Option<String>,
pub hide_scrollbars: bool,
pub viewport_size: Option<(u32, u32)>,
pub use_real_keychain: bool,
pub webgpu: bool,
pub no_xvfb: bool,
pub restrict_webrtc: bool,
}Expand description
Options shared by CLI → BrowserManager → oxide launch.
Fields§
§headless: bool§executable_path: Option<String>§proxy: Option<String>§proxy_bypass: Option<String>§proxy_username: Option<String>§proxy_password: Option<String>§profile: Option<String>§args: Vec<String>§allow_file_access: bool§extensions: Option<Vec<String>>§storage_state: Option<String>§user_agent: Option<String>§ignore_https_errors: bool§color_scheme: Option<String>§download_path: Option<String>§hide_scrollbars: boolHide native scrollbars in headless Chromium screenshots.
viewport_size: Option<(u32, u32)>Initial viewport for --window-size.
use_real_keychain: boolWhen true, omit mock keychain flags (real system keychain).
webgpu: boolEnable WebGPU (SwiftShader on Linux when needed).
no_xvfb: boolOpt-out Xvfb for headed Linux (legacy flag retained for CLI compat).
restrict_webrtc: boolRestrict WebRTC to proxied transports.
Trait Implementations§
Source§impl Clone for LaunchOptions
impl Clone for LaunchOptions
Source§fn clone(&self) -> LaunchOptions
fn clone(&self) -> LaunchOptions
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 LaunchOptions
impl Debug for LaunchOptions
Auto Trait Implementations§
impl Freeze for LaunchOptions
impl RefUnwindSafe for LaunchOptions
impl Send for LaunchOptions
impl Sync for LaunchOptions
impl Unpin for LaunchOptions
impl UnsafeUnpin for LaunchOptions
impl UnwindSafe for LaunchOptions
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