Sha256: 00138444e1ccc118f13f2358583e49be2236cd733dfb774231d2dfbbaecb035a

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

require 'saucelabs'

When(/^I invoke chrome browser$/) do
  @browser = SauceLabs.selenium_driver(browser= :chrome)
end

Then(/^I hit google website$/) do
 @browser.navigate.to "http://www.google.com"
end

When(/^I invoke chrome browser and set environment variable$/) do
  ENV['BROWSER']= "chrome"
  @browser = SauceLabs.selenium_driver
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saucelabs-0.5 features/step_definitions/my_steps.rb