add new chrome examples and change port from 9222 to 1337
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=1337"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=1337"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=1337"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=1337"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,16 +3,41 @@
|
|||||||
"snapshot": "chrome",
|
"snapshot": "chrome",
|
||||||
"instruction": "Please help me set Chrome to delete my browsing history automatically every time I close the browser.",
|
"instruction": "Please help me set Chrome to delete my browsing history automatically every time I close the browser.",
|
||||||
"source": "https://www.youtube.com/watch?v=v0kxqB7Xa6I",
|
"source": "https://www.youtube.com/watch?v=v0kxqB7Xa6I",
|
||||||
"config": [],
|
"config": [
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"google-chrome",
|
||||||
|
"--remote-debugging-port=1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"socat",
|
||||||
|
"tcp-listen:9222,fork",
|
||||||
|
"tcp:localhost:1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"trajectory": "trajectories/",
|
"trajectory": "trajectories/",
|
||||||
"related_apps": [
|
"related_apps": [
|
||||||
"chrome"
|
"chrome"
|
||||||
],
|
],
|
||||||
"evaluator": {
|
"evaluator": {
|
||||||
"func": "",
|
"func": "exact_match",
|
||||||
"result": {
|
"result": {
|
||||||
|
"type": "data_delete_automacally"
|
||||||
},
|
},
|
||||||
"expected": {
|
"expected": {
|
||||||
|
"type": "rule",
|
||||||
|
"rules": {
|
||||||
|
"expected": "Crashed"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"id": "a96b564e-dbe9-42c3-9ccf-b4498073438a",
|
||||||
|
"snapshot": "chrome",
|
||||||
|
"instruction": "Find discussions of community and open one with most replies.",
|
||||||
|
"source": "test_task_0",
|
||||||
|
"config": [
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"google-chrome",
|
||||||
|
"--remote-debugging-port=1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"socat",
|
||||||
|
"tcp-listen:9222,fork",
|
||||||
|
"tcp:localhost:1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"trajectory": "trajectories/",
|
||||||
|
"related_apps": [
|
||||||
|
"chrome"
|
||||||
|
],
|
||||||
|
"evaluator": {
|
||||||
|
"func":"is_expected_active_tab",
|
||||||
|
"result": {
|
||||||
|
"type": "active_tab_info"
|
||||||
|
},
|
||||||
|
"expected":{
|
||||||
|
"type": "rule",
|
||||||
|
"rules":{
|
||||||
|
"type": "url",
|
||||||
|
"url": "https://discussions.flightaware.com/t/graphs-for-dump1090-my-version-with-install-script/46263"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"google-chrome",
|
"google-chrome",
|
||||||
"--remote-debugging-port=9222"
|
"--remote-debugging-port=1337"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
{
|
||||||
|
"id": "f3b19d1e-2d48-44e9-b4e1-defcae1a0197",
|
||||||
|
"snapshot": "chrome",
|
||||||
|
"instruction": "Find help page about buying tickets.",
|
||||||
|
"source": "test_task_0",
|
||||||
|
"config": [
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"google-chrome",
|
||||||
|
"--remote-debugging-port=1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"socat",
|
||||||
|
"tcp-listen:9222,fork",
|
||||||
|
"tcp:localhost:1337"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"trajectory": "trajectories/",
|
||||||
|
"related_apps": [
|
||||||
|
"chrome"
|
||||||
|
],
|
||||||
|
"evaluator": {
|
||||||
|
"func":"is_expected_url_pattern_match",
|
||||||
|
"result": {
|
||||||
|
"type": "active_tab_info"
|
||||||
|
},
|
||||||
|
"expected":{
|
||||||
|
"type": "rule",
|
||||||
|
"rules":{
|
||||||
|
"expected": "https://seatgeek\\.com/help/articles/\\d+-Buying-Tickets"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user