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 starting a BrowserWebDriverContainer it tries to determine Selenium version from classpath, looking for the Manifest file from selenium-api.jar.
Using Selenium 3.9.1, the detection fails and it uses the default 2.45.0 version, thus pulling a selenium/standalone-chrome-debug:2.45.0 for Chrome.
Looking at the code of SeleniumUtils class, we can see that it reads Selenium-Version value of the Build-Info section in the Manifest file to infere the version to use.
Thus, reading Build-Info section, the Selenium-Version attribute can't be found.
However, looking at selenium-api-3.10.0 & selenium-api-3.11.0, the Selenium-Version is back in the Build-Info section... I didn't check all selenium-api version, but it looks like the format of the Manifest file is not really a standard.
To be more adaptable to format change, I think the code should check for the Selenium-Version entry in all the sections of the Manifest file and not only the Build-Info section, hoping we can at least rely on the fact the Selenium-Version will be present somewhere...
The text was updated successfully, but these errors were encountered:
When starting a
BrowserWebDriverContainer
it tries to determine Selenium version from classpath, looking for the Manifest file from selenium-api.jar.Using Selenium 3.9.1, the detection fails and it uses the default 2.45.0 version, thus pulling a selenium/standalone-chrome-debug:2.45.0 for Chrome.
Looking at the code of
SeleniumUtils
class, we can see that it readsSelenium-Version
value of theBuild-Info
section in the Manifest file to infere the version to use.That is ok in selenium-api-2.45.0.jar:
But in selenium-api-3.9.1.jar, the format is not the same:
Thus, reading
Build-Info
section, theSelenium-Version
attribute can't be found.However, looking at selenium-api-3.10.0 & selenium-api-3.11.0, the
Selenium-Version
is back in theBuild-Info
section... I didn't check all selenium-api version, but it looks like the format of the Manifest file is not really a standard.To be more adaptable to format change, I think the code should check for the
Selenium-Version
entry in all the sections of the Manifest file and not only theBuild-Info
section, hoping we can at least rely on the fact theSelenium-Version
will be present somewhere...The text was updated successfully, but these errors were encountered: