> Try this:
>
> fire_event("ondblclick")
>
There is a label on the page and I have to double click on that label
in order to go to the next page. I can get to the label by:
$b.element_by_xpath('//label[text()="Research"]').fire_event
("onmousedown") - this will select the label
then in order to get to the next page I have to double click on the
label several time (found this out while testing it manually) For the
double click I used:
$b.element_by_xpath('//label[text()="Research"]').fire_event
("ondblclick") in irb it returns 0
Is there any other way that I can perform an action to double click
twice on the label so it take me to the next page.
Thanks
--
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