Releases: sbabcoc/Selenium-Foundation
Upgrade Selenium to 4.27.0
Revise servlet container; upgrade to Selenium 4.26.0
In this release, I revised the servlet container feature to completely replace the servlet feature of Selenium 3 Grid. This general-purpose facility provides command line options to specify the server port and servlet classes for the container. The path specification for each servlet is now provided by the @WebServlet
annotation.
I also upgraded to the latest Selenium release (version 4.26.0).
Upgrade to Selenium 4.25.0
In this release, I upgraded Selenium to the latest release (version 4.25.0). This also includes the latest release of HtmlUnit-Remote.
For Selenium 4, switch from the deprecated CommandLine class to ProcessBuilder
The CommandLine class of the Selenium API has been deprecated, so I spent the effort to transition the Selenium 4 Grid and version-agnostic classes to the standard ProcessBuilder class. (My original intent was to replace CommandLine everywhere, but the output behavior of the Selenium 3 Grid servers is such that I couldn't get redirection to work.)
Remove custom capabilities to avoid relay "new session" issue
In this release, I resolved an issue with Appium support that caused the Selenium 4 Grid relay to mismatch requested capabilities in "new session" requests if they include nord:options
extension capabilities that don't precisely match those specified in the relay configuration. This occurs if the grid configuration specifies running Appium under the pm2
process manager.
Refine slot matchers; fix README version updater
In this release, I updated the slot/capabilities matcher criteria for HtmlUnitDriver:
- For Selenium 4, the
platformName
capability will be considered. - For Selenium 3, the
browserVersion
(a.k.a. -version
) capability will be ignored.
I also updated the README file update patterns in build.gradle
to match the Selenium 4 artifact names.
Upgrade and revisions to support Appium with Selenium 4
Upgrade to Selenium 4.23.0
In this release, I upgraded the Selenium 4 version to 4.23.0
, which includes a fix to HtmlUnitDriver related to identification of hidden element. This allowed me to switch the unit tests target browser back to HtmlUnit.
Upgrade Selenium 4 to version 4.22.0; add remote HtmlUnitDriver support
The major focus of this release is to sync up with the latest Selenium 4 release. I've incorporated support for HtmlUnit Remote, which restores the ability to acquire HtmlUnitDriver session from Selenium Grid.
Also in this release:
- I eliminated dependencies on Guava, which removes a potential source of dependency conflicts.
- I upgraded to the latest release of Java-Utils, which adds a new
findExecutableOnSystemPath
function to the FileUtils class.
Resolve issue with JUnit 4 support
This release is primarily focused on resolving the issues that were causing the JUnit 4 support to fail. The issue appears to have been largely a matter of running with an outdated version of Byte Buddy in JUnit Foundation.
I also update README to indicate the addition of Selenium 4 support and the switch to the Gradle Wrapper for building, testing, and publishing releases.