Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_page_search
- browser.open "/"
- assert_equal "Google", browser.title
- browser.type "q", "Selenium seleniumhq"
- browser.click "btnG", :wait_for => :page
- assert_equal "Selenium seleniumhq - Google Search", browser.title
- assert_equal "Selenium seleniumhq", browser.field("q")
- assert browser.text?("seleniumhq.org")
- assert browser.element?("link=Cached")
- end
Add Comment
Please, Sign In to add comment