Sha256: 87abb60964c8f940a98606c4d7c84d3785a1be87fb776cc66468eeb648fef999
Contents?: true
Size: 687 Bytes
Versions: 2
Compression:
Stored size: 687 Bytes
Contents
When(/^I establish a (.+) browser on the local machine using (.+)$/) do |browser, platform| @browser = RDee.send "#{platform.downcase}_browser", browser.downcase.to_sym end When(/^I establish a (.+) browser with a variable using (.+)$/) do |browser, platform| ENV['RDEE_BROWSER'] = "#{browser.downcase}" @browser = RDee.send "#{platform.downcase}_browser" ENV.delete 'RDEE_BROWSER' end Then(/^I should be able to perform a google search for cheezyworld$/) do visit(GoogleSearch) do |page| page.perform_search page.wait_until do page.text.include? 'extremely cheezy' end end end Then(/^I should be able to close the connection$/) do @browser.close end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
RDee-0.2 | features/step_definitions/rdee_steps.rb |
RDee-0.1 | features/step_definitions/rdee_steps.rb |