mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-09-24 13:40:12 +01:00
Disable breaking Local Network Access Checks popup
This commit is contained in:
@@ -149,6 +149,8 @@ def get_webdriver(proxy: dict = None) -> WebDriver:
|
|||||||
options.add_argument('--disable-gpu-sandbox')
|
options.add_argument('--disable-gpu-sandbox')
|
||||||
options.add_argument('--ignore-certificate-errors')
|
options.add_argument('--ignore-certificate-errors')
|
||||||
options.add_argument('--ignore-ssl-errors')
|
options.add_argument('--ignore-ssl-errors')
|
||||||
|
# disable breaking popup
|
||||||
|
options.add_argument("----disable-features=LocalNetworkAccessChecks")
|
||||||
|
|
||||||
language = os.environ.get('LANG', None)
|
language = os.environ.get('LANG', None)
|
||||||
if language is not None:
|
if language is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user