|
Perhaps the Jeff's proposal should be considered,
quote:
--------------------
def click( shouldBlock = true )
#code end --------------------
This way, when no parameter is given, method
behaves as usual.
Miro
----- Original Message -----
Sent: Saturday, December 10, 2005 7:08
PM
Subject: Re: [Wtr-general] Non-blocking
image click
Watir 1.5 will have a click method that will not only
fail to block in your scenario, but will also fail to block when raising modal
dialogs (a case where your code will still block).
Right now (in my
uncommitted code) this is called "click_no_wait". Comments please on the best
name for this method. Is "click_nonblocking" better? How about
"click_dammit!"?
Bret
|
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general