61 lines
1.2 KiB
JSON
61 lines
1.2 KiB
JSON
{
|
|
"id": "b070486d-e161-459b-aa2b-ef442d973b92",
|
|
"snapshot": "chrome",
|
|
"instruction": "Show side effects of Tamiflu.",
|
|
"source": "online_tasks",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"google-chrome",
|
|
"--remote-debugging-port=1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"socat",
|
|
"tcp-listen:9222,fork",
|
|
"tcp:localhost:1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome_open_tabs",
|
|
"parameters": {
|
|
"urls_to_open": [
|
|
"https://www.drugs.com/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Google Chrome"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"chrome"
|
|
],
|
|
"evaluator": {
|
|
"func": "exact_match",
|
|
"result": {
|
|
"type": "url_dashPart",
|
|
"goto_prefix": "https://www.",
|
|
"partIndex": -1,
|
|
"needDeleteId": false,
|
|
"returnType": "string"
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected": "tamiflu.html#side-effects"
|
|
}
|
|
}
|
|
}
|
|
} |