2.0.0-rc.1 • Published 2 years ago
@d-m-p/karma-selenium4-webdriver-launcher v2.0.0-rc.1
@d-m-p/karma-selenium4-webdriver-launcher
Forked from karma-webdriver-launcher.
Modified to work with the webdriver package instead of the no longer maintained wd package.
Ported to Typescript, though there were some issues to export the types, that's why they are located in
module @d-m-p/karma-selenium4-webdriver-launcher/types. Special handling of x-ua-compatible was removed, IE should
be considered outdated.
A plugin for Karma to launch Remote WebDriver instances.
Usage
$ npm install @d-m-p/karma-selenium4-webdriver-launcherIn your karma.conf.js file (e.g. using a running Selenium Grid at grid.local!):
module.exports = function(karma) {
var webdriverConfig = {
hostname: 'grid.local',
port: 4444,
}
config.set({
customLaunchers: {
ChromeWebdriver: {
base: 'Selenium4WebDriverLauncher',
config: webdriverConfig,
browserName: 'chrome',
pseudoActivityInterval: 30000
}
},
browsers: ['ChromeWebdriver'],
});
}pseudoActivityInterval
Interval in ms to do some activity to avoid killing session by timeout.
If not set or set to 0 - no activity will be performed.
2.0.0-alpha.3
2 years ago
2.0.0-alpha.4
2 years ago
2.0.0-alpha.5
2 years ago
2.0.0-alpha.6
2 years ago
2.0.0-rc.1
2 years ago
2.0.0-alpha.2
2 years ago
2.0.0-alpha.7
2 years ago
2.0.0-alpha.8
2 years ago
2.0.0-alpha.1
2 years ago