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
when writing a template test, and browsers.json has a capability, it must be of type String. But when the capability is passed down, creating the remote driver fails as the value is expected to be a Boolean.
2023-09-12 14:44:30 [main] TRACE i.g.b.wdm.webdriver.WebDriverCreator.createRemoteWebDriver(86) -- Requesting http://localhost:56814/wd/hub (the response code is 200)
2023-09-12 14:44:31 [main] TRACE i.g.b.wdm.webdriver.WebDriverCreator.createRemoteWebDriver(96) -- SessionNotCreatedException creating WebDriver object (Could not start a new session. Response code 400. Message: invalid argument: entry 0 of 'firstMatch' is invalid
from invalid argument: cannot parse capability: acceptInsecureCerts
from invalid argument: must be a boolean
Error trace:
The text was updated successfully, but these errors were encountered:
Description of the problem:
when writing a template test, and
browsers.json
has a capability, it must be of type String. But when the capability is passed down, creating the remote driver fails as the value is expected to be a Boolean.if you change the type to boolean, the reflection invocation fails.
selenium-jupiter/src/main/java/io/github/bonigarcia/seljup/CapabilitiesHandler.java
Lines 179 to 180 in a5c199d
Note, support for both
boolean
andmap
value arguments would be welcome.Browser and version:
All browsers.
Selenium-Jupiter version:
io.github.bonigarcia:selenium-jupiter:4.3.6
Selenium-Jupiter traces:
Error trace:
The text was updated successfully, but these errors were encountered: