Testem Selenium Launcher
This project provides a testem launcher which can connect to an existing selenium hub.
Getting Started
- Install the launcher
$ npm install testem-selenium-launcher --save-dev
- Add the launcher configuration to your testem config. NOTE: the '<url>' needs to be as is, this is how testem knows where to put the test url.
{
...
"launchers": {
"Selenium": {
"exe": "node_modules/.bin/testem-selenium-launcher",
"args": ["<url>", "INSERT YOUR HUB URL", "INSERT DESIRED BROWSER (chrome|firefox|etc)"],
"protocol": "browser"
}
}
...
}
- Run the suite
$ testem -l Selenium
For a working example look at the Example.