Skip to content

Instantly share code, notes, and snippets.

@richdownie
Last active August 30, 2021 20:15
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save richdownie/85e07624d5ed9cc947a05af3ab3b7200 to your computer and use it in GitHub Desktop.
Save richdownie/85e07624d5ed9cc947a05af3ab3b7200 to your computer and use it in GitHub Desktop.
require 'cucumber'
require 'selenium-webdriver'
# require 'cukehub' # optional, but recommended. See cukehub.com for more details
caps = Selenium::WebDriver::Remote::Capabilities.chrome(chromeOptions: { binary: "/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary",
args: [ "--headless" ]})
Before do
@browser = Selenium::WebDriver.for :chrome, desired_capabilities: caps
end
@hensyou
Copy link

hensyou commented Jul 20, 2017

May I ask what are the version of each gem?

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