Stealth configuration for browser automation to avoid bot detection.

This module contains all the configuration needed to make the browser appear as a regular user browser rather than an automated one.

StealthConfig

class StealthConfig:

Configuration class for stealth browser settings.

get_launch_args

def get_launch_args():

Returns:

List[str]: Chrome command line arguments to avoid detection.

get_context_options

def get_context_options():

Returns:

Dict[str, Any]: Browser context configuration options.

get_http_headers

def get_http_headers():

Returns:

Dict[str, str]: HTTP headers to appear more like a real browser.

get_all_config

def get_all_config():

Returns:

Dict[str, Any]: Complete stealth configuration.