I have been through the example by Angrez about XPATH. But I have a
question I have a  button:

input type= submit  value = submit

when I use:

$b.element_by_xpath("//value[contains(@value , 'Submit')]").click()

I get the following error message:

Watir::Exception::UnknownObjectException: Unable to locate element,
using :jssh_
name

Watir::Exception::UnknownObjectException: Unable to locate element,
using :xpath
, "//inp...@value=submit']"

Is there anything that I have to install gem wise as I cannot see a
similar issue in this group.

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to