Created
May 7, 2017 10:39
-
-
Save jdecool/ec2dbc08e79e66d27b3d56d10ea28bf4 to your computer and use it in GitHub Desktop.
Use Chrome Headless with Behat
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
default: | |
extensions: | |
Behat\MinkExtension: | |
base_url: http://localhost:8000 | |
default_session: selenium2 | |
selenium2: | |
browser: chrome | |
wd_host: http://127.0.0.1:4444/wd/hub | |
capabilities: | |
chrome: | |
switches: | |
- "--headless" | |
- "--disable-gpu" | |
suites: | |
default: | |
paths: | |
- "%paths.base%/features/" | |
contexts: | |
- Behat\MinkExtension\Context\MinkContext | |
- FeatureContext |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jdecool I am trying to change the initial window size:
But it looks like --window-size switch is being ignored. Any ideas how to achieve that?