On Thu, Dec 3, 2009 at 4:03 PM, tester86 <[email protected]> wrote:
> input type= submit value = submit
> $b.element_by_xpath("//value[contains(@value , 'Submit')]").click()
Try this (not tested):
$b.element_by_xpath("//input[contains(@value , 'submit')]").click
or
$b.element_by_xpath("//inp...@value='submit']").click
or
$b.button(:value, "submit").click
Željko
--
watir.com - community manager
watirpodcast.com - host
--
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