Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created July 7, 2022 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SarahElson/28dd62136c363b626a4fcce286079b91 to your computer and use it in GitHub Desktop.
Save SarahElson/28dd62136c363b626a4fcce286079b91 to your computer and use it in GitHub Desktop.
How To Implement Data Tables In Cucumber Using Selenium Ruby
#/support/env.rb
require 'rubygems'
require 'watir'
Before do |scenario|
$browser = Watir::Browser.new :firefox
$browser.driver.manage.window.maximize
end
After do |scenario|
$browser.close
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment