[🐛 Bug]: IEDriverServer 4.0.0 doesn't work with native events disabled
See original GitHub issueWhat happened?
The last version of IEDriver that worked fine with native events disabled was 3.150.1.
How can we reproduce the issue?
InternetExplorerOptions ieOptions = new InternetExplorerOptions();
ieOptions.disableNativeEvents(); // IMPORTANT
WebDriver driver = new InternetExplorerDriver(ieOptions);
driver.get("http://www.google.com");
new WebDriverWait(driver, Duration.ofMillis(10000), Duration.ofMillis(100)).until(
ExpectedConditions.visibilityOfElementLocated(By.name("q")));
WebElement searchField = driver.findElement(By.name("q"));
searchField.sendKeys("test");
searchField.submit();
new WebDriverWait(driver, Duration.ofMillis(10000), Duration.ofMillis(100)).until(
ExpectedConditions.titleContains("test"));
driver.quit();
Relevant log output
Started InternetExplorerDriver server (32-bit)
4.0.0.0
Listening on port 56213
Only local connections are allowed
Nov 15, 2021 12:27:55 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Exception in thread "main" org.openqa.selenium.TimeoutException: Expected condition failed: waiting for title to contain "test". Current title: "Google" (tried for 10 second(s) with 100 milliseconds interval)
Build info: version: '4.0.0', revision: '3a21814679'
System info: host: '...', ip: '...', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_202'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities {acceptInsecureCerts: false, browserName: internet explorer, browserVersion: 11, javascriptEnabled: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), se:ieOptions: {browserAttachTimeout: 0, elementScrollBehavior: 0, enablePersistentHover: false, ie.browserCommandLineSwitches: , ie.edgechromium: false, ie.edgepath: , ie.ensureCleanSession: false, ie.fileUploadDialogTimeout: 3000, ie.forceCreateProcessApi: false, ignoreProtectedModeSettings: false, ignoreZoomSetting: false, initialBrowserUrl: http://localhost:56213/, nativeEvents: false, requireWindowFocus: false}, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 80ecfb08-dd39-4fe3-b1d8-cbdcba770191
at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:138)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
at Test.main(Test.java:24)
Operating System
Windows 10
Selenium version
Java 4.0.0
What are the browser(s) and version(s) where you see this issue?
IE 11
What are the browser driver(s) and version(s) where you see this issue?
IEDriverServer 4.0.0
Are you using Selenium Grid?
no
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
[🐛 Bug]: IEDriverServer 4.0.0 doesn't work with native events ...
[🐛 Bug]: IEDriverServer 4.0.0 doesn't work with native events disabled [🐛 Bug]: IEDriverServer 4.0.0 doesn't work with native events disabled.
Read more >How to fix the slow sendkeys on IE 11 with Selenium ...
1.0 (x32), I fixed by changing to IEDriverServer.exe 3.5.1.0 (x64). Note: 3.4.0.0 does not fix this issue. nativeEvents: false did not change ...
Read more >Selenium CHANGELOG[持续更新] - 松勤吴老师 - 博客园
9|0Selenium 4.2.0. Fix bug preventing Firefox from setting accept_insecure_certs to False (#10442); Deprecated opera classes as not w3c compatible (#10379) ...
Read more >Selenium WebDriver capabilities for running tests on ...
Default & BrowserStack specific capabilities for Automate, to run Selenium WebDriver tests with support for Local Testing, Debugging and 3000+ Mobile ...
Read more >Webdriver IE click doesn't seem to work - SmartClient Forums
This appears to be an issue with WebDriver not being able to use native events in IE11 in Windows 8.1 (no issue in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In this case even
sendKeys()
has no effect because I don’t see anything typed in the field.This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.