* fix chrome * fix: fix proxy setup * feat&fix: add proxy support in setup and remove hardcoded proxy from example * fix tasks * fix chrome finished * fix * clean chrome_fix code * clean chrome_fix code * fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774 * fix multiapps * fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774 * fix some multi_apps tasks * fix some multi_apps tasks * fix password&resolution * fix password&resolution --------- Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"id": "9195653c-f4aa-453d-aa95-787f6ccfaae9",
|
|
"snapshot": "chrome",
|
|
"instruction": "I like watching movies (using VLC) on my laptop and sometimes the volume is too low for my taste even when the volume in VLC is set to the maximum of 125% on the volume control. Can you increase the max volume of the video to the 200% of the original volume?",
|
|
"source": "https://superuser.com/questions/1513285/how-can-i-increase-the-maximum-volume-output-by-vlc?rq=1",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": "VLC_VERBOSE=-1 vlc --no-audio --no-video-title-show",
|
|
"shell": true
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.click({SCREEN_WIDTH_HALF}, {SCREEN_HEIGHT_HALF}); time.sleep(0.5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vlc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"pkill",
|
|
"vlc"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": "vlc --no-audio --no-video-title-show",
|
|
"shell": true
|
|
}
|
|
}
|
|
],
|
|
"func": "check_qt_max_volume",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected_qt_max_volume": 200
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vlc_config",
|
|
"dest": "vlcrc"
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |