фф
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",
|
||||
"--disable-setuid-sandbox",
|
||||
"--disable-dev-shm-usage",
|
||||
"--disable-gpu",
|
||||
"--no-first-run",
|
||||
"--no-default-browser-check",
|
||||
"--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",
|
||||
"--use-mock-keychain",
|
||||
"--force-color-profile=srgb",
|
||||
"--disable-features=IsolateOrigins,site-per-process",
|
||||
"--disable-features=IsolateOrigins,site-per-process,ThirdPartyStoragePartitioning",
|
||||
"--disable-notifications",
|
||||
"--disable-popup-blocking",
|
||||
"--disable-print-preview",
|
||||
@@ -241,6 +240,9 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
|
||||
"--disable-sync",
|
||||
"--no-pings",
|
||||
"--mute-audio",
|
||||
"--enable-unsafe-swiftshader", # Исправляет ошибку WebGL в Docker
|
||||
"--ignore-gpu-blocklist",
|
||||
"--enable-webgl",
|
||||
"about:blank"
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user