fix chrome tasks (#230)
* fix chrome * fix: fix proxy setup * feat&fix: add proxy support in setup and remove hardcoded proxy from example * fix tasks * fix chrome finished * fix * clean chrome_fix code * clean chrome_fix code --------- Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "f5d96daf-83a8-4c86-9686-bada31fc66ab",
|
||||
"snapshot": "chrome",
|
||||
"instruction": "Compare iPhone 15 Pro Max with iPhone 13 Pro Max",
|
||||
"instruction": "Compare iPhone 15 Pro Max with iPhone 14 Pro Max and iPhone 13 Pro Max",
|
||||
"source": "Mind2Web",
|
||||
"config": [
|
||||
{
|
||||
@@ -53,16 +53,26 @@
|
||||
"chrome"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "is_expected_active_tab",
|
||||
"func": "check_direct_json_object",
|
||||
"result": {
|
||||
"type": "active_url_from_accessTree",
|
||||
"goto_prefix": "https://www."
|
||||
"type": "active_tab_url_parse",
|
||||
"goto_prefix": "https://www.",
|
||||
"parse_keys": [
|
||||
"modelList"
|
||||
],
|
||||
"split_list": true
|
||||
},
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"type": "url",
|
||||
"url": "https://www.apple.com/iphone/compare/?modelList=iphone-15-pro-max,iphone-15-pro,iphone-13-pro-max"
|
||||
"expected": {
|
||||
"modelList": [
|
||||
"iphone-15-pro-max",
|
||||
"iphone-14-pro-max",
|
||||
"iphone-13-pro-max"
|
||||
]
|
||||
},
|
||||
"ignore_list_order": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user