insure no exception (if failed, return 0) and change 'load' to 'networkidle'

This commit is contained in:
Jason Lee
2024-02-26 22:07:08 +08:00
parent 889c22975e
commit 0edbcf404d
5 changed files with 47 additions and 14 deletions

View File

@@ -22,6 +22,20 @@
"tcp:localhost:1337"
]
}
},
{
"type": "chrome_open_tabs",
"parameters": {
"urls_to_open": [
"https://seatgeek.com/"
]
}
},
{
"type": "activate_window",
"parameters": {
"window_name": "Google Chrome"
}
}
],
"trajectory": "trajectories/",
@@ -37,7 +51,7 @@
"expected":{
"type": "rule",
"rules":{
"expected": ["https://seatgeek\\.com/help/articles/\\d+-Buying-Tickets"]
"expected": ["Buying-Tickets"]
}
}
}