[Wtr-general] how ie.div(:name => 'foo', :index => 2).click works?

Željko Filipin zeljko.filipin at gmail.com
Thu Feb 8 06:18:31 EST 2007


How this works?

ie.div(:name => 'foo', :index => 2).click

I tried to find in Watir source how it is done, but I could not find it.
Could somebody please point me to the right method? It would make sense to
me if the argument was a hash.

ie.div({:name => 'foo', :index => 2}).click

I would like to use that concept in my tests. I have several other ideas
now, but this just looks good.
-- 
Zeljko Filipin
zeljkofilipin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070208/f5dcdb5f/attachment.html 


More information about the Wtr-general mailing list