Skip to content

Instantly share code, notes, and snippets.

@hgrimelid
Created September 20, 2017 11:23
Show Gist options
  • Save hgrimelid/ffa8311ed73a3ee18907f5ce2cbf34ee to your computer and use it in GitHub Desktop.
Save hgrimelid/ffa8311ed73a3ee18907f5ce2cbf34ee to your computer and use it in GitHub Desktop.
Codeception Chrome Headless configuration for Mac OS
# 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
@andreasneuber
Copy link

Thanks for sharing. This gist helped me to disable the Chrome infobar about "..driven by automatic test software etc" :-)
=> args: [ "disable-infobars" ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment