Skip to content

Instantly share code, notes, and snippets.

@maxbaluev
Forked from disintegrator/wdio.conf.js
Created May 17, 2018 10:34
Show Gist options
  • Save maxbaluev/504033818e253578942b5e7733c9f8dd to your computer and use it in GitHub Desktop.
Save maxbaluev/504033818e253578942b5e7733c9f8dd to your computer and use it in GitHub Desktop.
Run Chrome Headless with WebdriverIO and selenium-standalone
exports.config = {
capabilities: [
{
browserName: 'chrome',
chromeOptions: {
args: ['headless', 'disable-gpu'],
},
},
],
services: ['selenium-standalone'],
seleniumInstallArgs: {
logger: console.log,
drivers: {
chrome: {
version: '2.29',
arch: process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com',
},
},
},
seleniumArgs: {
logger: console.log,
drivers: {
chrome: {
version: '2.29',
},
},
},
/* ... all your other config ... */
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment