You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
Sometimes click does not work in IE with enabled native events. Consider the following
code:
System.setProperty("webdriver.ie.driver", "<path_to_iedriverserver>");
DesiredCapabilities d = DesiredCapabilities.internetExplorer();
//d.setCapability("nativeEvents", false);
webdriver = new InternetExplorerDriver(d);
webdriver.get("http://google.co.uk");
webdriver.findElement(By.linkText("Images")).click();
webdriver.findElement(By.linkText("Search")).click();
This script usually clicks "Images" link successfully, but in some cases it fails to
click "Search" afterwards. It is not a synchronization issue, the same stuff happens
when there is a, say, Thread.sleep() between the clicks. Moreover, if script is stopped
at the breakpoint after this code and user tries to click links manually, it does not
work either, but URLs keep flashing in the IE status bar as if some click event was
not completely handled. When IEDriverServer.exe process is killed, this browser window
becomes responsive again.
Interestingly, if d.setCapability("nativeEvents", false) is uncommented, everything
works as expected.
Selenium version: 2.25.0
OS: WinXP
Browser: IE 8, IEDriverServer 2.25.3 (x32), browser mode = IE8, document mode = IE8
Standards