Skip to content

Instantly share code, notes, and snippets.

@naik899
Created April 27, 2020 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naik899/2badf9a903921ef7ebaf397292dca56e to your computer and use it in GitHub Desktop.
Save naik899/2badf9a903921ef7ebaf397292dca56e to your computer and use it in GitHub Desktop.
Selenium WDIO config file for Experitest cloud
exports.config = {
runner: 'local',
hostname: 'CLOUDURL',// e.g., demo.experitest.com
protocol: 'https',
port: 443,
services: ['appium'],
path: '/wd/hub',
specs: [
'./test/specs/**/*.js'
],
// Patterns to exclude
exclude: [
// 'path/to/excluded/files'
],
maxInstances: 10,
capabilities: [{
accessKey: 'EXPERITEST ACCESSS KEY', //access key from experitest cloud
browserName: 'chrome', // can point to any available browser like Chrome, Safari, Firefox, Edge etc
platformName: 'Any', //you can mention different platforms like windows 10, Mac etc
testName: 'wdio #1'
}],
logLevel: 'info',
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
reporters: ['spec'],
mochaOpts: {
ui: 'bdd',
timeout: 60000
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment