WATIN simulating right button click in Firefox
- by Sendoh
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