pub struct ApplyOptions {
pub patch_webdriver: bool,
}Expand description
How much the page script has to do on top of the browser-side overrides.
Fields§
§patch_webdriver: boolForce navigator.webdriver to false from JavaScript.
Only needed when attaching to a browser somebody else launched with
automation switches that can no longer be changed; a browser launched by
this library does not need it, because
--disable-blink-features=AutomationControlled already covers it.
Trait Implementations§
Source§impl Clone for ApplyOptions
impl Clone for ApplyOptions
Source§fn clone(&self) -> ApplyOptions
fn clone(&self) -> ApplyOptions
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 moreimpl Copy for ApplyOptions
Source§impl Debug for ApplyOptions
impl Debug for ApplyOptions
Source§impl Default for ApplyOptions
impl Default for ApplyOptions
Source§fn default() -> ApplyOptions
fn default() -> ApplyOptions
Returns the “default value” for a type. Read more
impl Eq for ApplyOptions
Source§impl PartialEq for ApplyOptions
impl PartialEq for ApplyOptions
impl StructuralPartialEq for ApplyOptions
Auto Trait Implementations§
impl Freeze for ApplyOptions
impl RefUnwindSafe for ApplyOptions
impl Send for ApplyOptions
impl Sync for ApplyOptions
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptions
impl UnwindSafe for ApplyOptions
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