Created
July 27, 2017 20:21
-
-
Save jamesmcallister/8b3fb4e65a7c4e36684965c8cafc7ac3 to your computer and use it in GitHub Desktop.
Webdriverio headless chrome
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
capabilities: [ | |
{ | |
// maxInstances can get overwritten per capability. So if you have an in-house Selenium | |
// grid with only 5 firefox instances available you can make sure that not more than | |
// 5 instances get started at a time. | |
maxInstances: 10, | |
// | |
browserName: 'chrome', | |
chromeOptions: { | |
args: ['headless'] | |
} | |
} | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple as adding 'chromeOptions' in.