pub struct LaunchConfig {
pub executable: PathBuf,
pub port: u16,
pub headless: bool,
pub extra_args: Vec<String>,
pub user_data_dir: Option<PathBuf>,
}Expand description
Configuration for launching a Chrome process.
Fields§
§executable: PathBufPath to the Chrome executable.
port: u16Port for Chrome’s remote debugging protocol.
headless: boolWhether to launch in headless mode.
extra_args: Vec<String>Additional command-line arguments for Chrome.
user_data_dir: Option<PathBuf>User data directory. If None, a temporary directory is created.
Auto Trait Implementations§
impl Freeze for LaunchConfig
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnsafeUnpin for LaunchConfig
impl UnwindSafe for LaunchConfig
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