Created
June 8, 2017 23:55
-
-
Save richdownie/13560822fc4eef766730656094e20a30 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
require 'cucumber' | |
require 'selenium-webdriver' | |
require 'cukehub' | |
caps = Selenium::WebDriver::Remote::Capabilities.chrome(chromeOptions: { args: [ "--headless" ]}) | |
Before do | |
@browser = Selenium::WebDriver.for :chrome, desired_capabilities: caps | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment