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