From a16b54c17595c30fbce5070b0c585c625c296cf5 Mon Sep 17 00:00:00 2001 From: yuanmengqi Date: Sun, 13 Jul 2025 10:14:41 +0000 Subject: [PATCH] edit --- .../chrome/6c4c23a1-42a4-43cc-9db1-2f86ff3738cc.json | 2 +- manual_examine.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/evaluation_examples/examples/chrome/6c4c23a1-42a4-43cc-9db1-2f86ff3738cc.json b/evaluation_examples/examples/chrome/6c4c23a1-42a4-43cc-9db1-2f86ff3738cc.json index d63ec3f..dd6a5c9 100644 --- a/evaluation_examples/examples/chrome/6c4c23a1-42a4-43cc-9db1-2f86ff3738cc.json +++ b/evaluation_examples/examples/chrome/6c4c23a1-42a4-43cc-9db1-2f86ff3738cc.json @@ -74,5 +74,5 @@ } } }, - "proxy": true + "proxy": false } \ No newline at end of file diff --git a/manual_examine.py b/manual_examine.py index ddd69b7..ee8964d 100644 --- a/manual_examine.py +++ b/manual_examine.py @@ -67,6 +67,13 @@ def config() -> argparse.Namespace: parser.add_argument( "--region", type=str, default="us-east-1", help="AWS region for the VM" ) + parser.add_argument( + "--provider_name", type=str, default="aws", choices=["aws", "virtualbox", "vmware", "docker", "azure"], help="Provider name" + ) + parser.add_argument( + "--client_password", type=str, default="", help="Client password" + ) + args = parser.parse_args() return args @@ -267,7 +274,10 @@ def main(): headless=args.headless, os_type="Ubuntu", require_a11y_tree=args.observation_type in ["a11y_tree", "screenshot_a11y_tree", "som"], - enable_proxy=True + enable_proxy=True, + client_password=args.client_password, + screen_width=args.screen_width, + screen_height=args.screen_height ) # 执行手动检查