lib/selenium/link.rb in Selenium-1.0.4 vs lib/selenium/link.rb in Selenium-1.0.9
- old
+ new
@@ -24,18 +24,18 @@
end
# click the link and wait for page to load
def click_wait
click
- @browser.wait_for_page_to_load
+ @browser.wait_for_page_to_load(30000)
end
# click the link, wait for the page to load, and asserts the target that
# was passed in during initialization
def go
raise "target page not defined for link #{@locator}" unless @target
click_wait
- @target.assert_on_page
+ @target.assert_page
@target
end
end
end