Created
July 7, 2022 05:04
-
-
Save SarahElson/28dd62136c363b626a4fcce286079b91 to your computer and use it in GitHub Desktop.
How To Implement Data Tables In Cucumber Using Selenium Ruby
This file contains 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
#/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