Skip to content

Update Selenium from 3.12.0 to 4.43.0#602

Open
bgrozev wants to merge 1 commit intojitsi:masterfrom
bgrozev:update-selenium
Open

Update Selenium from 3.12.0 to 4.43.0#602
bgrozev wants to merge 1 commit intojitsi:masterfrom
bgrozev:update-selenium

Conversation

@bgrozev
Copy link
Copy Markdown
Member

@bgrozev bgrozev commented Apr 26, 2026

Summary

Upgrades Selenium from 3.12.0 to 4.43.0. Breaking API changes addressed:

  • Remove setExperimentalOption("w3c", false) — W3C is the default in Selenium 4
  • CapabilityType.LOGGING_PREFS"goog:loggingPrefs" for Chrome-specific capability
  • Chromedriver log configured via ChromeDriverService.Builder().withLogFile() instead of system property
  • pageLoadTimeout(long, TimeUnit)pageLoadTimeout(Duration)
  • UnreachableBrowserException removed; replaced with WebDriverException
  • WebDriverWait(driver, long)WebDriverWait(driver, Duration)

API changes required:
- Remove setExperimentalOption("w3c", false) — W3C is default in Selenium 4
- Replace CapabilityType.LOGGING_PREFS with "goog:loggingPrefs" for Chrome
- Replace System.setProperty chromedriver log with ChromeDriverService.withLogFile()
- pageLoadTimeout() now takes Duration instead of (long, TimeUnit)
- UnreachableBrowserException removed; catch WebDriverException instead
- WebDriverWait(driver, N) now takes Duration instead of long seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant