[Wtr-development] inspect

Jari Bakken jari.bakken at gmail.com
Wed Oct 13 12:52:24 EDT 2010

On Wed, Oct 13, 2010 at 5:38 PM, Ethan <notethan at gmail.com> 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.

More information about the Wtr-development mailing list