-
-
Save rahulmr/0e5456e45ae8bf415bf5ab95db680e20 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