Hi,

So when I try
ie.element_by_xpath("//area[contains(@href , ' PieChart.html')]/").click()
it throws  'Undefined method click for nil class' exception

This means that it hasn't returned you the element. I did tried the same xpath on the HTML code snippet provided by you in the mail and it did worked. Just check your xpath _expression_ or try some different xpath _expression_. Can you send the complete HTML, and watir code ?

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

Reply via email to