karma-selenium-webdriver-launcher
Use a custom Selenium Webdriver instance. Useful for iron fist control, ex: extension testing.
Installation
The easiest way is to keep karma-selenium-webdriver-launcher
as a devDependency in your package.json
.
You can also add it by this command:
npm install karma-selenium-webdriver-launcher --save-dev
Configuration
// karma.conf.jsvar By = By until = until firefox = ; module { config;};
Browser options
browserName
name of the browser (ideally we'll useCapabilities
in the future)getDriver
function that will return a webdriver instance to the karma test runner (not the test being run)
Additional Test API
TODO (see #3)
For more information on Karma see the homepage.