mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-02 01:00:46 +00:00
Selenium 3.x only speaks the legacy JSON Wire Protocol, which forces us to pin old browser versions. Selenium 4 brings the W3C WebDriver protocol. Since the reactor still runs on Java 8 and Selenium 4.14+ requires Java 11, 4.13.0 is the migration target: the last Java-8-compatible release. org.openqa.selenium.osgi wrapper bundle: - Drop the Selenium-3 client-combined fat jar and its transitives. - Add the 12 Selenium 4.13.0 modules + selenium-chromium-driver and the required transitive runtime deps (Netty async HTTP client, OpenTelemetry). - Keep the legacy org.json jar (still consumed by the test bundle and previously re-exported here); DevTools/CDP jars intentionally omitted (the suite uses no CDP). - Re-scope Export-Package to the 4.13.0 package layout; keep Bundle-RequiredExecutionEnvironment JavaSE-1.8. Bump bundle to 4.13.0 and mirror the jar list in .classpath, build.properties and pom.xml. com.sap.sailing.selenium.test source fixes: - WebDriverWait(WebDriver, long) -> WebDriverWait(WebDriver, java.time.Duration). - org.openqa.selenium.internal.WrapsElement -> org.openqa.selenium.WrapsElement. - ElementNotSelectableException (removed) -> ElementNotInteractableException. - Bump wrapper-bundle dependency to 4.13.0. The full test bundle compiles cleanly against the new wrapper on Java 8. Assisted-By: Claude (claude-4.8-opus)