diff --git a/app.py b/app.py index 0ceab87..9a91589 100644 --- a/app.py +++ b/app.py @@ -232,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,ThirdPartyStoragePartitioning", + "--disable-features=IsolateOrigins,site-per-process,ThirdPartyStoragePartitioning,BlockThirdPartyCookies", "--disable-notifications", "--disable-popup-blocking", "--disable-print-preview", @@ -243,6 +243,7 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str): "--enable-unsafe-swiftshader", # Исправляет ошибку WebGL в Docker "--ignore-gpu-blocklist", "--enable-webgl", + "--test-type", "about:blank" ]