pub struct Browser {
pub engine: EngineType,
pub user_data_dir: PathBuf,
pub headless: bool,
}Expand description
Browser instance wrapper.
This is a placeholder struct that would wrap the actual browser instance from the underlying engine (chromiumoxide or fantoccini).
Fields§
§engine: EngineTypeThe engine type being used.
user_data_dir: PathBufThe user data directory.
headless: boolWhether the browser is running headless.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Browser
impl RefUnwindSafe for Browser
impl Send for Browser
impl Sync for Browser
impl Unpin for Browser
impl UnsafeUnpin 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