Sha256: 479d7dd0e11d527fd1df9685e96378ae3bfa150e50d33de25eb14df3c7ae2737

Contents?: true

Size: 355 Bytes

Versions: 164

Compression:

Stored size: 355 Bytes

Contents

Given 'I am on the Google search page' do
  @browser.open('http://www.google.com/')
end

When /I search for "(.*)"/ do |query|
  @browser.type('q', query)   
  @browser.click 'btnG'
  @browser.wait_for_page_to_load
end

Then /I should see a link to (.*)/ do |expected_url|
  @browser.is_element_present("css=a[href='#{expected_url}']").should be_true
end

Version data entries

164 entries across 164 versions & 15 rubygems

Version Path
kbaum-cucumber-0.4.5.pre examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.5.rc1 examples/selenium/features/step_definitons/search_steps.rb
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/examples/selenium/features/step_definitons/search_steps.rb
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/examples/selenium/features/step_definitons/search_steps.rb
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/examples/selenium/features/step_definitons/search_steps.rb
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/examples/selenium/features/step_definitons/search_steps.rb
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.4 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.3 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.2 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.1 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.0 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.4.0.rc1 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.104 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.103 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.102 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.101 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.100 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.98 examples/selenium/features/step_definitons/search_steps.rb
cucumber-0.3.99 examples/selenium/features/step_definitons/search_steps.rb