From 6e5dd0b16593a0e610118a8469f30642bad13361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alaksiej=20Miale=C5=A1ka?= Date: Mon, 2 Nov 2026 20:51:11 +0100 Subject: [PATCH 1/2] Update to Selenium 4.51.0 +semver:feature Reduce Selenium dependency to only api and support libraries --- README.md | 12 ++++++++++++ pom.xml | 24 +++++++++++++++--------- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2826967..1f5e2a1 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,17 @@ This package is a library with core functions simplifying work with Selenium-controlled applications. The package is not intended to be used directly, please refer to one of sibling libraries instead: Aquality Selenium, Aquality Appium Mobile. +### Requirements + +- **Java**: 11 or higher +- **Maven**: 3.6.0 or higher + +### Key Dependencies + +- **Selenium (API and Support libraries only): 4.x.x ** +- **Guice**: 6.x.x +- **Jackson Databind**: 2.x.x +- **Log4j**: 2.x.x +- ### License Library's source code is made available under the [Apache 2.0 license](https://github.com/aquality-automation/aquality-selenium-core-java/blob/master/LICENSE). diff --git a/pom.xml b/pom.xml index e324d20..0bb8160 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.aquality-automation aquality-selenium-core - 4.0.0 + 5.0.0 jar Aquality Selenium Core @@ -106,20 +106,26 @@ - - com.google.guava - guava - 33.7.1-jre - com.fasterxml.jackson.core jackson-databind - 2.22.3 + 2.22.4 + + + org.seleniumhq.selenium + selenium-api + 4.51.0 org.seleniumhq.selenium - selenium-java - 4.50.0 + selenium-support + 4.51.0 + + + org.seleniumhq.selenium + selenium-chrome-driver + 4.51.0 + test io.appium From d21e90dc9acd79e0c94a73e34ede3576eb7fa8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alaksiej=20Miale=C5=A1ka?= Date: Mon, 2 Nov 2026 21:02:35 +0100 Subject: [PATCH 2/2] fix review issues --- README.md | 2 +- .../java/aquality/selenium/core/utilities/JsonSettingsFile.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f5e2a1..59fdd0a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The package is not intended to be used directly, please refer to one of sibling ### Requirements - **Java**: 11 or higher -- **Maven**: 3.6.0 or higher +- **Maven**: 3.6.3 or higher ### Key Dependencies diff --git a/src/main/java/aquality/selenium/core/utilities/JsonSettingsFile.java b/src/main/java/aquality/selenium/core/utilities/JsonSettingsFile.java index 2a9ab6d..55202cd 100644 --- a/src/main/java/aquality/selenium/core/utilities/JsonSettingsFile.java +++ b/src/main/java/aquality/selenium/core/utilities/JsonSettingsFile.java @@ -46,7 +46,7 @@ private Object getEnvValueOrDefault(String jsonPath, boolean throwIfEmpty) { * * @param node node from json file * @param envVar value got from environment variable - * @return Value, casted to specific type. + * @return Value, cast to specific type. */ private Object castEnvOrDefaultValue(JsonNode node, String envVar) { if (node.isBoolean()) {