[Wtr-general] Error selecting links within nested iFrame?

Bret Pettichord bret at pettichord.com
Wed Oct 25 18:09:40 EDT 2006


Paul,

Thanks for looking at this.


Ethan,

What did you want "assert ie.thing.click" to be checking? That an error 
wasn't raised? If so you should be using "assert_nothing_raised 
{ie.thing.click}".

The return value of click and many other methods has not really been 
defined. In Watir 1.5, click happens to return the amount of time that 
it took to load the page after the click. It sounds like it simply 
return nil in 1.4. If people have opinions regarding what the return 
values of such methods should be, i am happy to hear them. We haven't 
really given much attention to this in the past, and i'm not sure 
whether people really care.

Bret


More information about the Wtr-general mailing list