{
    "id": "26660ad1-6ebb-4f59-8cba-a8432dfe8d38",
    "snapshot": "multiapps",
    "instruction": "I want to test the quality of the network environment my laptop is currently in. Please measure my network situation through speedtest.net, export the measurement results, and save them to ~/Test/Speed (if the dir does not exist, create it).",
    "source": "https://www.speedtest.net/",
    "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.speedtest.net/"
              ]
            }
          },
          {
            "type": "activate_window",
            "parameters": {
              "window_name": "Google Chrome"
            }
          },
          {
            "type": "execute",
            "parameters": {
              "command": [
                "python",
                "-c",
                "import pyautogui; import time; time.sleep(0.5);"
              ]
            }
          }
    ],
    "trajectory": "trajectories/",
    "related_apps":[
        "os",
        "browser"
    ],
    "evaluator":{
        "func": "compare_time_in_speedtest_results",
        "result":{
            "type": "vm_file",
            "path": "/home/user/Test/Speed/Speedtest Results Export-.csv",
            "dest": "Speedtest Results Export-.csv",
            "time_suffix": true
        },
        "expected":{
            "type": "time_diff_range",
            "diff_range_in_minutes": "60"
        }
    }
}