фф
This commit is contained in:
1 parent
701a82a1fe
commit
80103fc03a
1 file changed
+4
-2
@@ -222,7 +222,6 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
|
|||||||
"--no-sandbox",
|
"--no-sandbox",
|
||||||
"--disable-setuid-sandbox",
|
"--disable-setuid-sandbox",
|
||||||
"--disable-dev-shm-usage",
|
"--disable-dev-shm-usage",
|
||||||
"--disable-gpu",
|
|
||||||
"--no-first-run",
|
"--no-first-run",
|
||||||
"--no-default-browser-check",
|
"--no-default-browser-check",
|
||||||
"--disable-blink-features=AutomationControlled", # Скрывает navigator.webdriver
|
"--disable-blink-features=AutomationControlled", # Скрывает navigator.webdriver
|
||||||
@@ -233,7 +232,7 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
|
|||||||
"--password-store=basic",
|
"--password-store=basic",
|
||||||
"--use-mock-keychain",
|
"--use-mock-keychain",
|
||||||
"--force-color-profile=srgb",
|
"--force-color-profile=srgb",
|
||||||
"--disable-features=IsolateOrigins,site-per-process",
|
"--disable-features=IsolateOrigins,site-per-process,ThirdPartyStoragePartitioning",
|
||||||
"--disable-notifications",
|
"--disable-notifications",
|
||||||
"--disable-popup-blocking",
|
"--disable-popup-blocking",
|
||||||
"--disable-print-preview",
|
"--disable-print-preview",
|
||||||
@@ -241,6 +240,9 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
|
|||||||
"--disable-sync",
|
"--disable-sync",
|
||||||
"--no-pings",
|
"--no-pings",
|
||||||
"--mute-audio",
|
"--mute-audio",
|
||||||
|
"--enable-unsafe-swiftshader", # Исправляет ошибку WebGL в Docker
|
||||||
|
"--ignore-gpu-blocklist",
|
||||||
|
"--enable-webgl",
|
||||||
"about:blank"
|
"about:blank"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user