the code in that page uses the javascript event object, which we've had problems with in watir.
I think you will be able to make this work by: simulate right click see if the menuitem div is visible click it based on its text something like this may be what you need ie.link(:index,1).fireEvent("onContextMenu") if ie.div(:text , "Message Formur").style.visibility != "hidden" ie.div(:text , "message forum").click end ----- Original Message ----- From: mihai <[EMAIL PROTECTED]> Date: Monday, June 11, 2007 4:11 am Subject: Re: [Wtr-general] mouse right click? > with java script it works; but i have this problem, this is the > site : http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm > right click to select all and it appers a java menu; how do i > click, for example, on Message Forum in that menu? > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general