From 80103fc03ace62ed6ee4a9b6312007c342035d60 Mon Sep 17 00:00:00 2001 From: nafer Date: Fri, 6 Mar 2026 03:21:20 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D1=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 2cc49e2..0ceab87 100644 --- a/app.py +++ b/app.py @@ -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" ]