mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
opt-out from selenium anonymous data collection
This commit is contained in:
@@ -51,6 +51,7 @@ CHROMIUM_OPTIONS = TypeVar('CHROMIUM_OPTIONS', bound = ChromiumOptions) # pylin
|
||||
class SeleniumMixin:
|
||||
|
||||
def __init__(self) -> None:
|
||||
os.environ["SE_AVOID_STATS"] = "true" # see https://www.selenium.dev/documentation/selenium_manager/
|
||||
self.browser_config:Final[BrowserConfig] = BrowserConfig()
|
||||
self.webdriver:WebDriver = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user