Created
June 9, 2017 04:13
-
-
Save disintegrator/ff6e9341860e9b121099c71bc9381bd6 to your computer and use it in GitHub Desktop.
Run Chrome Headless with WebdriverIO and selenium-standalone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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