Created
May 17, 2017 13:29
-
-
Save richdownie/6e8b501b7534935259603ff0b2ed819c to your computer and use it in GitHub Desktop.
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
caps = Selenium::WebDriver::Remote::Capabilities.chrome(chromeOptions: { binary: "/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary", args: [ "--headless" ]}) | |
@browser = Selenium::WebDriver.for :chrome, desired_capabilities: caps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment