This commit is contained in:
yuanmengqi
2025-07-13 10:14:41 +00:00
parent a070ddda7e
commit a16b54c175
2 changed files with 12 additions and 2 deletions

View File

@@ -74,5 +74,5 @@
}
}
},
"proxy": true
"proxy": false
}

View File

@@ -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
)
# 执行手动检查