diff --git a/evaluation_examples/examples/chrome/bb5e4c0d-f964-439c-97b6-bdb9747de3f4.json b/evaluation_examples/examples/chrome/bb5e4c0d-f964-439c-97b6-bdb9747de3f4.json index e45a520..91e5304 100644 --- a/evaluation_examples/examples/chrome/bb5e4c0d-f964-439c-97b6-bdb9747de3f4.json +++ b/evaluation_examples/examples/chrome/bb5e4c0d-f964-439c-97b6-bdb9747de3f4.json @@ -29,6 +29,80 @@ "chrome" ], "evaluator": { + "postconfig": [ + { + "type": "execute", + "parameters": { + "command": [ + "python3", + "-c", + "import pyautogui; pyautogui.press('f5')" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 3 + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "pkill", + "-f", + "google-chrome" + ] + } + }, + { + "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": [ + "chrome://settings/search", + "chrome://settings" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 3 + } + }, + { + "type": "execute", + "parameters": { + "command": ["pkill", "-SIGHUP", "-f", "google-chrome"] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 3 + } + } + ], "func": "match_in_list", "result": { "type": "default_search_engine"