Created
November 13, 2017 12:39
-
-
Save juno/676188c362c6d585479d1f05718be555 to your computer and use it in GitHub Desktop.
Rails 5.1 System Test driven by 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
driven_by( | |
:selenium, | |
using: :chrome, | |
screen_size: [1400, 900], | |
options: { | |
desired_capabilities: { | |
chromeOptions: { | |
args: %w[headless disable-gpu], | |
prefs: { | |
'modifyheaders.headers.name' => 'Accept-Language', | |
'modifyheaders.headers.value' => 'ja,en', | |
}, | |
}, | |
}, | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment