zz3
This commit is contained in:
1 parent
673257eb61
commit
030cc98448
2 files changed
+6
-1
No files matched your search
Binary file not shown.
@@ -109,6 +109,7 @@ async def run_browser_task(task_id: str, task: str, max_steps: int, model: str):
|
|||||||
chrome_cmd = [
|
chrome_cmd = [
|
||||||
chrome_exe,
|
chrome_exe,
|
||||||
f"--remote-debugging-port={REMOTE_DEBUGGING_PORT}",
|
f"--remote-debugging-port={REMOTE_DEBUGGING_PORT}",
|
||||||
|
f"--remote-debugging-address=0.0.0.0",
|
||||||
f"--user-data-dir={user_data_dir}",
|
f"--user-data-dir={user_data_dir}",
|
||||||
"--no-first-run",
|
"--no-first-run",
|
||||||
"--no-default-browser-check",
|
"--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",
|
"--disable-gpu",
|
||||||
"--no-sandbox",
|
"--no-sandbox",
|
||||||
"--disable-dev-shm-usage",
|
"--disable-dev-shm-usage",
|
||||||
"--headless=new",
|
"--disable-software-rasterizer",
|
||||||
|
"--disable-setuid-sandbox",
|
||||||
|
"--disable-blink-features=AutomationControlled",
|
||||||
|
"--headless",
|
||||||
|
"--disable-web-security",
|
||||||
"about:blank"
|
"about:blank"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user