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
In order for Selenium 4 NodeOptions to resolve the "htmlunit" browser name to HtmlUnitDriver, it needs an implementation of the WebDriverInfo to provide the association. Without this service provider implementation, we get failures like the one shown in the attached Grid 4 server log.
org.openqa.selenium.grid.config.ConfigException: Unable to find matching driver for Capabilities {browserName: htmlunit, browserVersion: chrome, platformName: Windows 10}
We apparently also need an HtmlUnitDriverService, which extends org.openqa.selenium.remote.service.DriverService. This may be the more involved task, because it seems to require packaging up HtmlUnitDriver into a service that can launch and manage a separate process. With my own versions of these two classes, I've managed to launch and register an HtmlUnitDriver node in a local Grid 4 instance. I haven't tried to actually get a session yet, as the response I get back from a status request is malformed. I'll post further updates as the situation evolves.
sbabcoc
changed the title
HtmlUnitDriver needs to provide a WebDriverInfo service provider for Selenium 4 Grid
HtmlUnitDriver needs to provide a WebDriverInfo and DriverService service providers for Selenium 4 Grid
Aug 25, 2023
sbabcoc
changed the title
HtmlUnitDriver needs to provide a WebDriverInfo and DriverService service providers for Selenium 4 Grid
HtmlUnitDriver needs to provide WebDriverInfo and DriverService service providers for Selenium 4 Grid
Aug 25, 2023
I abandoned my attempt to stand up a Grid 4 node that provides HtmlUnit sessions. I need to examine the InMemorySession feature of Selenium 3 to determine the size and complexity of the implementation.
In order for Selenium 4 NodeOptions to resolve the "htmlunit" browser name to HtmlUnitDriver, it needs an implementation of the WebDriverInfo to provide the association. Without this service provider implementation, we get failures like the one shown in the attached Grid 4 server log.
grid-node-5.log
The text was updated successfully, but these errors were encountered: