pub struct StealthConfig {Show 14 fields
pub webgl_spoof: bool,
pub canvas_spoof: bool,
pub audio_spoof: bool,
pub human_mouse: bool,
pub human_typing: bool,
pub user_agent: Option<String>,
pub headless: bool,
pub chrome_path: Option<String>,
pub patch_binary: bool,
pub viewport_width: u32,
pub viewport_height: u32,
pub debug: bool,
pub debug_dir: Option<String>,
pub proxy: Option<String>,
}Expand description
Configuration for stealth features
Fields§
§webgl_spoof: boolSpoof WebGL renderer/vendor
canvas_spoof: boolSpoof canvas fingerprint
audio_spoof: boolSpoof audio fingerprint
human_mouse: boolUse human-like mouse movements
human_typing: boolUse human-like typing
user_agent: Option<String>Custom user agent (None = random realistic)
headless: boolHeadless mode
chrome_path: Option<String>Path to Chrome/Chromium binary
patch_binary: boolPatch Chrome binary to bypass detection
viewport_width: u32Viewport width
viewport_height: u32Viewport height
debug: boolDebug mode - log actions and save screenshots on error
debug_dir: Option<String>Directory for debug screenshots (defaults to current directory)
proxy: Option<String>Proxy server URL (e.g. “http://127.0.0.1:8080” or “socks5://user:pass@host:port”)
Implementations§
Trait Implementations§
Source§impl Clone for StealthConfig
impl Clone for StealthConfig
Source§fn clone(&self) -> StealthConfig
fn clone(&self) -> StealthConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 StealthConfig
impl Debug for StealthConfig
Auto Trait Implementations§
impl Freeze for StealthConfig
impl RefUnwindSafe for StealthConfig
impl Send for StealthConfig
impl Sync for StealthConfig
impl Unpin for StealthConfig
impl UnwindSafe for StealthConfig
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