diff --git a/__pycache__/app.cpython-312.pyc b/__pycache__/app.cpython-312.pyc index 2e2fcf3..7abd602 100644 Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ diff --git a/app.py b/app.py index 88e2ed7..a31d7c9 100644 --- a/app.py +++ b/app.py @@ -109,6 +109,7 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str): chrome_cmd = [ chrome_exe, f"--remote-debugging-port={REMOTE_DEBUGGING_PORT}", + f"--remote-debugging-address=0.0.0.0", f"--user-data-dir={user_data_dir}", "--no-first-run", "--no-default-browser-check", @@ -117,7 +118,11 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str): "--disable-gpu", "--no-sandbox", "--disable-dev-shm-usage", - "--headless=new", + "--disable-software-rasterizer", + "--disable-setuid-sandbox", + "--disable-blink-features=AutomationControlled", + "--headless", + "--disable-web-security", "about:blank" ]