-
-
Save maxbaluev/504033818e253578942b5e7733c9f8dd to your computer and use it in GitHub Desktop.
Run Chrome Headless with WebdriverIO and selenium-standalone
This file contains 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