On Wed, Oct 13, 2010 at 5:38 PM, Ethan <[email protected]> wrote:
> what would it look like for an element specified with multiple hash values,
> like container.text_field(:text => 'file.txt', :class => 'fooclass'}) ?

In watir-webdriver, I have this:

#<Watir::Div:0x2fd1774 located=false selector={:class=>"foo",
:text=>"bar", :tag_name=>"div"}>

:tag_name being part of the selector is admittedly an implementation detail.
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to