Skip to content

mccataldo/testem-selenium-launcher

 
 

Repository files navigation

Testem Selenium Launcher

This project provides a testem launcher which can connect to an existing selenium hub.

Getting Started

  1. Install the launcher
$ npm install testem-selenium-launcher --save-dev
  1. 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": {
        "Chrome_iPhone7-portrait": {
      "exe": "node_modules/.bin/testem-selenium-launcher",
      "args": [
        "<url>",
        "http://localhost:9515",
        {
          "browserName": "chrome",
          "chromeOptions": {
            "args": [
              "--test-type",
              "--window-size=414,736"
            ]
          }
        }
      ],
      "protocol": "browser"
    }
  }
  ...
}
  1. Run the suite
$ testem -l Selenium

For a working example look at the Example.

About

A selenium launcher for Testem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%