From 25b216074c6a6c5ec8ee337e16af697d9748d168 Mon Sep 17 00:00:00 2001 From: Jumper Chen Date: Tue, 5 Nov 2024 16:38:28 +0800 Subject: [PATCH] upgrade selenium and zk-webdriver version for chrome v130 --- zktest/build.gradle | 6 +++--- .../java/org/zkoss/zktest/zats/test2/B96_ZK_4194Test.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/zktest/build.gradle b/zktest/build.gradle index cf34962255..dcd89f8581 100644 --- a/zktest/build.gradle +++ b/zktest/build.gradle @@ -117,11 +117,11 @@ dependencies { testImplementation 'org.eclipse.jetty:apache-jsp:10.0.11' testImplementation 'org.junit.platform:junit-platform-launcher:1.9.0' testImplementation 'xml-apis:xml-apis:1.4.01' - testImplementation 'org.zkoss.test:zk-webdriver:1.4.23.0.0' + testImplementation 'org.zkoss.test:zk-webdriver:1.4.26.0.0' // For B96_ZK_4194Test to use a specific Chrome driver version (this will change to match latest chrome) - testImplementation 'org.seleniumhq.selenium:selenium-devtools-v125:4.21.0' - testImplementation "org.seleniumhq.selenium:selenium-java:4.21.0" + testImplementation 'org.seleniumhq.selenium:selenium-devtools-v130:4.26.0' + testImplementation "org.seleniumhq.selenium:selenium-java:4.26.0" testImplementation 'com.google.javascript:closure-compiler-unshaded:v20230802' providedCompile 'javax.el:javax.el-api:2.2.5' diff --git a/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_4194Test.java b/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_4194Test.java index 64252b749a..e5cdd62df2 100644 --- a/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_4194Test.java +++ b/zktest/src/test/java/org/zkoss/zktest/zats/test2/B96_ZK_4194Test.java @@ -1,9 +1,9 @@ /* B96_ZK_4194Test.java Purpose: - + Description: - + History: 5:31 PM 2023/4/12, Created by jumperchen @@ -20,8 +20,8 @@ import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions; import org.openqa.selenium.devtools.DevTools; -import org.openqa.selenium.devtools.v125.network.Network; -import org.openqa.selenium.devtools.v125.network.model.ConnectionType; +import org.openqa.selenium.devtools.v130.network.Network; +import org.openqa.selenium.devtools.v130.network.model.ConnectionType; import org.zkoss.test.webdriver.ChromiumHeadlessDriver; import org.zkoss.test.webdriver.ExternalZkXml;