Skip to content

Instantly share code, notes, and snippets.

Created December 25, 2017 16:38
Show Gist options
  • Save anonymous/139d0287f145b2afb4194ce4cd9810b6 to your computer and use it in GitHub Desktop.
Save anonymous/139d0287f145b2afb4194ce4cd9810b6 to your computer and use it in GitHub Desktop.
options = Selenium::WebDriver::Firefox::Options.new(
args: ['-headless']
)
driver = Selenium::WebDriver.for :firefox, options: options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment