0.2.1 • Published 12 years ago
selenium-grid v0.2.1
Selenium grid
Pilot a selenium grid from nodejs and run several scenarios in parallel.
Example
An example can be found in the example directory.
Simply run bin/selenium-grid example/**/*.js
.
Install
Via npm:
$ npm install selenium-grid
via Git:
$ git clone https://github.com/themouette/selenium-grid.git && npm install
Configuration
Add a .selenium-grid.json
in your home directory or a selenium-grid.json
to
your project root.
{
"browsers": [
{ "browserName": "internet explorer", "version": "8", "platform": "XP" },
{ "browserName": "chrome", "version": "latest" },
{ "browserName": "firefox", "version": "latest" }
],
"remoteCfg": {
"host": "ondemand.saucelabs.com",
"port": 80
}
}
Launch tests
$ node_modules/selenium-grid/bin/selenium-grid
License
This project is released under MIT license.
Refer to the LICENCE file for more informations.