Created
September 20, 2017 11:23
-
-
Save hgrimelid/ffa8311ed73a3ee18907f5ce2cbf34ee to your computer and use it in GitHub Desktop.
Codeception Chrome Headless configuration for Mac OS
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
# Codeception Test Suite Configuration | |
actor: AcceptanceTester | |
modules: | |
enabled: | |
- WebDriver: | |
url: 'http://localhost/' # Site URL | |
browser: chrome | |
window_size: false | |
capabilities: | |
chromeOptions: | |
args: ["--headless", "--disable-gpu"] | |
binary: "/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" # Path to Chrome binary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing. This gist helped me to disable the Chrome infobar about "..driven by automatic test software etc" :-)
=>
args: [ "disable-infobars" ]