mirrored a minute ago
0
Jason Leefix selector bug and determine the path according to arch ca24d2a
{
    "id": "2888b4e6-5b47-4b57-8bf5-c73827890774",
    "snapshot": "chrome",
    "instruction": "Find a men's T-Shirt that is in large size with a stripe pattern, short sleeve and under the Sales&Discount.",
    "source": "test_task_1",
    "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.macys.com/"
          ]
        }
      },
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Google Chrome"
        }
      }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
      "chrome"
    ],
    "evaluator": {
        "func":"exact_match",
        "result": {
            "type": "url_dashPart",
            "goto_prefix": "https://www.",
            "partIndex": -1,
            "needDeleteId": true,
            "returnType": "string"
        },
        "expected":{
            "type": "rule",
            "rules":{
                "expected": "Stripe,Men,L,Short%20Sleeve,Sales%20%26%20Discounts" 
            }
        }
    }
  }