Don't open devtools

This commit is contained in:
ilike2burnthing 2025-06-03 05:38:55 +01:00 committed by GitHub
parent 795365dbe4
commit e0bdaf7745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -177,8 +177,6 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
# For normal headless mode:
# options.add_argument('--headless')
options.add_argument("--auto-open-devtools-for-tabs")
# if we are inside the Docker container, we avoid downloading the driver
driver_exe_path = None
version_main = None