Disable breaking Local Network Access Checks popup

This commit is contained in:
ilike2burnthing
2026-06-03 00:58:01 +01:00
committed by GitHub
parent 4ca91a24f8
commit 79154abcf4
+2
View File
@@ -149,6 +149,8 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
options.add_argument('--disable-gpu-sandbox')
options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')
# disable breaking popup
options.add_argument("----disable-features=LocalNetworkAccessChecks")
language = os.environ.get('LANG', None)
if language is not None: