add new examples for chrome

This commit is contained in:
Jason Lee
2024-02-18 22:11:16 +08:00
parent 66304b3bab
commit 17cd897780
12 changed files with 333 additions and 16 deletions

View File

@@ -3,16 +3,41 @@
"snapshot": "chrome",
"instruction": "Can you enable the 'Do Not Track' feature in Chrome to enhance my online privacy?",
"source": "https://www.surreycc.gov.uk/website/cookies/do-not-track",
"config": [],
"config": [
{
"type": "launch",
"parameters": {
"command": [
"google-chrome",
"--remote-debugging-port=9222"
]
}
},
{
"type": "launch",
"parameters": {
"command": [
"socat",
"tcp-listen:9222,fork",
"tcp:localhost:1337"
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"chrome"
],
"evaluator": {
"func": "",
"func": "exact_match",
"result": {
"type": "enable_do_not_track"
},
"expected": {
"type": "rule",
"rules": {
"expected": "true"
}
}
}
}