Skip to content

For Selenium 4, switch from the deprecated CommandLine class to ProcessBuilder

Choose a tag to compare

@sbabcoc sbabcoc released this 04 Oct 06:06
· 72 commits to master since this release

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.)