IE stopped working on Grid in beta 4
See original GitHub issue💥 Regression Report
RemoteWebDriver.get()
throws an exception when used with IE on Grid. It started happening in beta 4. Beta 3 worked fine. IE still works fine when used directly, without Grid.
Last working Selenium version
Worked up to version: 4.0.0-beta-3
Stopped working in version: 4.0.0-beta-4
To Reproduce
Start Grid hub and node
java -jar selenium-server-4.0.0-beta-4.jar hub
java -jar selenium-server-4.0.0-beta-4.jar node
Execute a simple test
InternetExplorerOptions ieOptions = new InternetExplorerOptions();
WebDriver driver = new RemoteWebDriver(new URL("http://localhost:4444"), ieOptions);
driver.get("http://www.google.com");
driver.quit();
The exception is
Exception in thread "main" org.openqa.selenium.InvalidArgumentException: parameters property of command is not a valid JSON object
Build info: version: '4.0.0-beta-4', revision: '29f46d02dd'
System info: host: '...', ip: '...', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '11'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [c8ce0e31-e678-4cd7-b453-7d2209c49105, get {url=http://www.google.com}]
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: true, ie.browserCommandLineSwitches: , ie.edgechromium: false, ie.edgepath: , ie.ensureCleanSession: false, ie.fileUploadDialogTimeout: 3000, ie.forceCreateProcessApi: false, ignoreProtectedModeSettings: false, ignoreZoomSetting: false, initialBrowserUrl: http://localhost:26710/, nativeEvents: true, requireWindowFocus: false}, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: c8ce0e31-e678-4cd7-b453-7d2209c49105
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:53)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:184)
at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:39)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:612)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:326)
at test.Test.main(Test.java:14)
Environment
OS: Windows Browser: Internet Explorer Browser version: 11 Browser Driver version: IEDriver 3.150.1 Language Bindings version: Java 4.0.0-beta-4 Selenium Grid version (if applicable): 4.0.0-beta-4
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
CSS Grid Is not working in Internet Explorer - Stack Overflow
This CSS grid is working on all browsers but internet explorer. Since edge came out it is working but people using outdated software...
Read more >Grid 4 doesn't allow more than 1 session for Internet Explorer
We have been running up to 10-15 IE sessions per server without issues for many years thanks to simulated events. Now if Selenium...
Read more >Internet Explorer (IE) mode troubleshooting and FAQ
Common IE mode issues. Use this section as a guide to help you troubleshoot and fix the two most common issues when moving...
Read more >Display:grid is not working in IE11 - CodeProject
IE11 only supports the older "working draft" version of the grid layout ... Anyone who uses IE should expect sites to not work...
Read more >CSS Grid in IE: CSS Grid and the New Autoprefixer
It's a great article and very useful for understanding IE's ... grid, NA, No, See this GitHub issue as to why this isn't...
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
I have the same issue - is there any progress on this?
Thanks to @jimevans, a new release of the IEDriver is out and you can continue using IE together with Grid 4 Beta 4 and future versions.
Links have been updated in the docs as well, you can dowload it here.