Zarkonnen / se-interpreter

Interpreter for Selenium Builder JSON scripts based on node.js and wd.
34 stars 31 forks source link

Process data-driving options #12

Closed Zarkonnen closed 10 years ago

Zarkonnen commented 10 years ago

Builder JSON now contains information about how to data-drive scripts. This information should be supported. Example:

{
  "type": "script",
  "seleniumVersion": "2",
  "formatVersion": 2,
  "steps": [
    {
      "type": "get",
      "url": "http://www.metafilter.com/"
    }
  ],
  "data": {
    "configs": {
      "json": {
        "path": "/Users/zar/Desktop/data.json"
      }
    },
    "source": "json"
  },
  "inputs": []
}
Zarkonnen commented 10 years ago

Implemented in commit b89ed5965385bbe5b7b9ee0a85a8feaad73e28e3