Like Charley said, the first form below is automatically understood by ruby to imply the second. It is a feature of Ruby and there is nothing special in the Watir library to make this happen.
Bret
> ie.div(:name => 'foo', :index => 2).click
>
> ie.div({:name => 'foo', :index => 2}).click
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
