Take a look at "How to trigger event programmatically?", dated Aug 9 2004, at http://groups.google.com/group/comp.lang.javascript/browse_thread/thread/27e7c70e51ff8a99/98cea9cdf065a524?lnk=st&q=javascript+trigger+the+event+for+right&rnum=3&hl=en#98cea9cdf065a524
Michael Winter's reply to the question shows one way to simulate right/middle/left mouse clicks. However he goes on to write: "...Of course IE will have none of this. Whilst you can dispatch artificial events into the document tree (using Element.fireEvent), only listeners will be dispatched. Actions associated with that event will not be performed. ..." Don't know if that means that Watir is totally barred from getting the standard context menu to pop up. ~~ Egil --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=4007&messageID=11270#11270 _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
