WATIN simulating right button click in Firefox
Posted
by Sendoh
on Stack Overflow
See other posts from Stack Overflow
or by Sendoh
Published on 2010-05-29T22:40:27Z
Indexed on
2010/05/29
22:42 UTC
Read the original article
Hit count: 315
Hi,
I use the following code to simulate right button click
NameValueCollection eventProperties = new NameValueCollection(); eventProperties.Add("button", "2"); box.FireEvent("onmousedown", eventProperties);
they work well in IE, but does not work in Firefox, Firefox still recognize the click as left (0) button button.
Thanks
© Stack Overflow or respective owner