I have a scenario where when I click or mouse over top navigation, it does not work. Manually its working fine for me. It looks like we need to disable native event. I observed that when mouse pointer is inside internet explorer window but not at the location where element is, script fails.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by (151 points)
selected by
0 votes
Best answer

You can set "nativeEvents" as false into DesiredCapabilities.

 DesiredCapabilities caps = DesiredCapabilities.internetExplorer();

caps.setCapability("nativeEvents", false);