mirrored 9 minutes ago
0
TimothyxxxFix one answer 098549d
{
    "id": "a96b564e-dbe9-42c3-9ccf-b4498073438a",
    "snapshot": "chrome",
    "instruction": "Find discussions of community and open one with most replies.",
    "source": "test_task_0",
    "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.flightaware.com/"
          ]
        }
      },
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Google Chrome"
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; import time; pyautogui.hotkey('alt', 'f10'); time.sleep(0.5);"
          ]
        }
      }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
      "chrome"
    ],
    "evaluator": {
        "func":"is_expected_active_tab",
        "result": {
            "type": "active_tab_info",
            "goto_prefix": "https://www."
        },
        "expected":{
            "type": "rule",
            "rules":{
                "type": "url",
                "url": "https://discussions.flightaware.com/t/the-banter-thread/4412"
            }
        }
      }
    }