Hi Bret,

Can't XPath functionality be used to access elements using multiple attributes? This is already there.

>  ie.div(:class => "MenuItem", :text => "Pulverize").click

This translates to:
ie.div(:xpath, "//[EMAIL PROTECTED] = 'MenuItem' and @text = 'Pulverize']).click

I think XPath provides much more powerful way to select element in addition to selecting it using multiple attributes. Comments?

Regards,
Angrez
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to