github seleniumbase/SeleniumBase v3.2.1
3.2.1 - Optimizations for driver downloads

latest releases: v4.32.11, v4.32.10, v4.32.9...
2 years ago

Optimizations for driver downloads

  • Make performance optimizations for driver downloads
  • This resolves #1341
  • If chromedriver is missing when a test starts, SeleniumBase should first try getting the latest stable version. (Currently gets the special 2.44 version, which doesn't have the compatibility check.) This won't effect sbase get chromedriver, which will use the compatibility version. (Change that with sbase get chromedriver latest to get the latest version.)
  • If the version of chromedriver is incompatible with the version of chrome, try to parse the exact major version of chromedriver that's needed, based on the output of the exception message, and then download that specific version directly. (Currently, it first downloads the compatibility version of chromedriver (2.44), and then looks at driver.capabilities to figure out what the current version of Chrome is, in order to extract the major chrome version from that for downloading the correct driver version.
  • If running tests with multiple processes (eg. -n=4) and a new driver needs to be downloaded, then have a single test download the new driver (which is shared by all) while the other tests wait. (Currently, this was only done for chromedriver. Now msedgedriver and geckodriver will have this too, as opposed to just failing if the situation arises.)
  • The new compatibility version of chromedriver will be changed to 72.0.3626.69 because that seems to be the highest version that doesn't include a version check with the Chrome version. (Currently it's set to 2.44, which also doesn't have a version check, but it's slightly older.) After chromedriver 72.0.3626.69, drivers became very restrictive on which Chrome versions could be paired with them. (Eg. This version of ChromeDriver only supports Chrome version ...)

Don't miss a new SeleniumBase release

NewReleases is sending notifications on new releases.