When a session is created, GeckoDriver is adding to the response the cap platformVersion, which is not a W3C WebDriver capability. It should be prefixed with moz: or removed.
Testcase
FirefoxOptions options = new FirefoxOptions();
options.setCapability(CapabilityType.PLATFORM_NAME, Platform.ANY);
options.setHeadless(false);
options.addArguments("--start-maximized");
options.setUnhandledPromptBehaviour(UnexpectedAlertBehaviour.ACCEPT_AND_NOTIFY);
options.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
options.setPageLoadStrategy(PageLoadStrategy.NORMAL); // https://www.skptricks.com/2018/08/timed-out-receiving-message-from-renderer-selenium.html
options.setPageLoadTimeout(Duration.ofSeconds(30000));
options.setScriptTimeout(Duration.ofSeconds(30000));
return new FirefoxDriver(options);
Stacktrace
There is no stacktrace, but here is the response payload
System
When a session is created, GeckoDriver is adding to the response the cap
platformVersion
, which is not a W3C WebDriver capability. It should be prefixed withmoz:
or removed.Testcase
Stacktrace
There is no stacktrace, but here is the response payload
Trace-level log