Sha256: e6bef30f0a7dc60848439e5383fc1f3116f62b461060f91eb6f4457967710cf0
Contents?: true
Size: 626 Bytes
Versions: 14
Compression:
Stored size: 626 Bytes
Contents
When /^I select the link labeled "([^\"]*)"$/ do |text| @page.google_search_id end When /^I search for the link by "([^\"]*)"$/ do |how| @how = how end Then /^I should be able to select the link$/ do @page.send "google_search_#{@how}".to_sym end When /^I select a link labeled "([^"]*)" and index "([^"]*)"$/ do |label, index| @page.send "#{label.downcase}#{index}".to_sym end When /^I select a link while the script is executing$/ do link = @page.link_element(:id => 'link_id') link.click end Then /^I should see that the link exists$/ do require 'ruby-debug' debugger @page.link_id?.should == true end
Version data entries
14 entries across 14 versions & 1 rubygems