Finish Chrome v2 loading

This commit is contained in:
Timothyxxx
2024-01-24 23:05:44 +08:00
parent 5dea912d01
commit 8837d8051a

View File

@@ -3,16 +3,63 @@
"snapshot": "chrome",
"instruction": "My grandmother has been using the Chrome lately and told me that the font size is way too small for her poor eyesight. Could you set the default font size to the largest for her?",
"source": "https://www.howtogeek.com/680260/how-to-change-chromes-default-text-size/",
"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/",
"related_apps": [
"chrome"
],
"evaluator": {
"func": "",
"postconfig": [
{
"type": "launch",
"parameters": {
"command": [
"pkill",
"chrome"
]
}
},
{
"type": "launch",
"parameters": {
"command": [
"google-chrome",
"--remote-debugging-port=1337"
]
}
}
],
"func": "check_font_size",
"result": {
"type": "chrome_font_size"
},
"expected": {
"type": "rule",
"rules": {
"type": "range",
"min": 16,
"max": 99999
}
}
}
}