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.
class StealthConfig:
Configuration class for stealth browser settings.
def get_launch_args():
Returns:
List[str]: Chrome command line arguments to avoid detection.
def get_context_options():
Returns:
Dict[str, Any]: Browser context configuration options.
def get_http_headers():
Returns:
Dict[str, str]: HTTP headers to appear more like a real browser.
def get_all_config():
Returns:
Dict[str, Any]: Complete stealth configuration.