In that case you have to trigger the event on Main. It depends what event it is
listening to, maybe it's mouseover. Try something like this:
$ie.link(:class => "menuHeading").span.fire_event("mouseover")
$ie.link(:text,'Capture 1').when_present(2).click
You have to find out, what element is bound to which element to fire the
correct event for this to work properly.
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-classic/issues/46#issuecomment-11038645
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development