{
    "id": "b7895e80-f4d1-4648-bee0-4eb45a6f1fa8",
    "snapshot": "chrome",
    "instruction": "Find a Hotel in New York City with lowest price possible for 2 adults this weekend.",
    "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.tripadvisor.com/"
          ]
        }
      },
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Google Chrome"
        }
      }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
      "chrome"
    ],
    "evaluator": {
        "func":"check_direct_json_object",
        "result": {
            "type": "active_tab_html_parse",
            "goto_prefix": "https://www.",
            "category": "xpath",
            "xpathObject":{
                "/html/body/div[1]/main/div[3]/div/div[1]/div[2]/div[1]/div[2]/div/div/div/div/div[1]/div/button/div[3]":"from",
                "/html/body/div[1]/main/div[3]/div/div[1]/div[2]/div[1]/div[2]/div/div/div/div/div[2]/button/div[3]":"to",
                "/html/body/div[1]/main/div[3]/div/div[1]/div[2]/div[1]/div[1]/div/h1":"city",
                "/html/body/div[1]/main/div[3]/div/div[1]/div[2]/div[1]/div[2]/div/div/div/div/div[3]/button/div[3]/span/span[2]":"adult",
                "/html/body/div[1]/main/div[3]/div/div[2]/div/div[1]/div/div[2]/div[1]/div/div[1]/div/div[1]/div[2]/div/div[2]/div/button/div/div":"rank"
            }
        },
        "expected":
        {
            "type": "rule_relativeTime",
            "rules":{
                "relativeTime": {
                  "from": "this Saturday",
                  "to": "this Sunday"
                },
                "expected": {
                   "from": "{DoW}, {Month} {Day0D}",
                   "to": "{DoW}, {Month} {Day0D}",
                    "city": "New York City Hotels",
                    "adult": "2 adults",
                    "rank": "Price (low to high)"
                }
            }
        }
    }
  }
  