Displaying 1 result from an estimated 1 matches for "rspec_selenium".
2006 Sep 07
0
Dead easy Watir AND Selenium
...t find Ali G when I search for rspec" do
@browser.text_field(:name, "q").set("rspec")
@browser.button(:name, "btnG").click
@browser.contains_text("Ali G").should_be(false)
end
end
== Selenium ==
require File.dirname(__FILE__) + ''/rspec_selenium''
context "Google''s search page" do
setup do
@browser = Selenium::SeleneseInterpreter.new("localhost", 4444,
"*firefox", "http://www.google.no", 10000)
@browser.start
@browser.open(''http://www.google.no'')
e...