safariwatir

safariwatir: how to select anonymous button

I'm using watir for safari with ruby 1.8.7 on OSX Snow leopard. I want to click a button, the only one in the page, that has neither id nor name. It only has an onckick property and the text within the tag.. How to do that? Is there a way to list all buttons on the page, and get the first (and only) one? thanks ...

watir-webdriver wait for page load

using watir-webdriver [ http://github.com/jarib/watir-webdriver ] how do i wait for a page to load after i click a link? at the moment i am doing sleep n but this is not ideal as the page response varies so much. is their a method to test whether the page is ready or whether their is a certain element in the page. I understand in t...

Issues with link on Watir and Safari?

Hi there, I am new in using watir but I can only imagine this to be a bug: require "watir" Watir::Browser.default = 'safari' b = Watir::Browser.new b.goto() => nil b.link(:title, "Start").click Leads me to the next page as expected but on the following page no link works even they are there b....