Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

mouse hover / click for top navigation is not work for Internet Explorer Driver

Solved 1 Answers 374 Views Test Automation
0 1
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.

1 Answer

Best answer

You can set "nativeEvents" as false into DesiredCapabilities.

 DesiredCapabilities caps = DesiredCapabilities.internetExplorer();

caps.setCapability("nativeEvents", false);
answered by (151 points)
selected by

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.