pub struct BrowsrClientConfig {
pub window_size: Option<(u32, u32)>,
pub headless: Option<bool>,
pub enable_stealth_mode: bool,
pub enable_real_emulation: bool,
pub proxy: Option<BrowserProxy>,
pub analysis_model_settings: Option<Value>,
pub user_agent: Option<String>,
pub use_random_user_agent: bool,
pub disable_automation_detection: bool,
}Expand description
Chromium driver configuration shared across orchestrator + CLI
Fields§
§window_size: Option<(u32, u32)>Preferred viewport size (defaults to 1920x1080)
headless: Option<bool>Whether to run Chromium in headless mode
enable_stealth_mode: boolEnable stealth adjustments to reduce detection heuristics
enable_real_emulation: boolEnable Spider’s “real” emulation for fonts, media, etc.
proxy: Option<BrowserProxy>Optional proxy information passed to Chromium
analysis_model_settings: Option<Value>Model settings for structured extraction (loaded from browsr.toml) - stored as JSON to avoid circular dependencies
user_agent: Option<String>Custom user agent string (defaults to modern Chrome on macOS)
use_random_user_agent: boolGenerate a random modern Chrome user agent on session start (overrides user_agent if set)
disable_automation_detection: boolDisable automation detection features (webdriver flag, etc.)
Trait Implementations§
Source§impl Clone for BrowsrClientConfig
impl Clone for BrowsrClientConfig
Source§fn clone(&self) -> BrowsrClientConfig
fn clone(&self) -> BrowsrClientConfig
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 BrowsrClientConfig
impl Debug for BrowsrClientConfig
Source§impl Default for BrowsrClientConfig
impl Default for BrowsrClientConfig
Source§fn default() -> BrowsrClientConfig
fn default() -> BrowsrClientConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrowsrClientConfigwhere
BrowsrClientConfig: Default,
impl<'de> Deserialize<'de> for BrowsrClientConfigwhere
BrowsrClientConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrowsrClientConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrowsrClientConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for BrowsrClientConfig
impl JsonSchema for BrowsrClientConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for BrowsrClientConfig
impl Serialize for BrowsrClientConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BrowsrClientConfig
impl RefUnwindSafe for BrowsrClientConfig
impl Send for BrowsrClientConfig
impl Sync for BrowsrClientConfig
impl Unpin for BrowsrClientConfig
impl UnsafeUnpin for BrowsrClientConfig
impl UnwindSafe for BrowsrClientConfig
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