How to use the selenium-standalone/lib/default-config.drivers function in selenium-standalone

To help you get started, we’ve selected a few selenium-standalone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bbody / CMD-Resume / wdio.conf.js View on Github external
jasmineNodeOpts: {
		defaultTimeoutInterval: 10000,
		grep: null,
		invertGrep: null
	},

	services: ['selenium-standalone', 'static-server'],
	staticServerFolders: [
		{mount: '/', path: './test_tmp'},
		{mount: '/node_modules', path: './node_modules'}
	],
	staticServerPort: 63342,

	// Firefox workaround
	seleniumArgs: {drivers: Object.assign({}, require('selenium-standalone/lib/default-config').drivers, {firefox: {version: '0.23.0'}})},
	seleniumInstallArgs: {drivers: Object.assign({}, require('selenium-standalone/lib/default-config').drivers, {firefox: {version: '0.23.0'}})},

	drivers: {
		chrome: {
			version: '2.39'
		}
	},

	onComplete: function(exitCode) {
		process.exit(exitCode);
	}
};

selenium-standalone

installs a `selenium-standalone` command line to install and start a standalone selenium server

MIT
Latest version published 3 months ago

Package Health Score

87 / 100
Full package analysis