[Wtr-general] How to click or access Map and Area tags?

Angrez Singh angrez at gmail.com
Wed Dec 21 07:17:21 EST 2005


Hi,

> when I try ie.frame(:index,3).element_by_xpath("//area[contains(@href , '
> PieChart.html?category=Critical&pieIndex=0')]/").click() it throws :
> undefined method `element_by_xpath' for #<Watir::Frame:0x2d92b48>
> (NoMethodError) exception
>

This is because element_by_xpath method is defined in IE class. Will look
into this?

Bret:
      Does moving xpath related methods to container module solves the
purpose?

Regards,
Angrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20051221/33cc9b68/attachment.html 


More information about the Wtr-general mailing list