Skip to content

Commit e80df43

Browse files
committed
Update Selenium 4.20.0 support CDP 124
1 parent d1307f5 commit e80df43

File tree

3 files changed

+37
-30
lines changed

3 files changed

+37
-30
lines changed

CHANGELOG.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v1.7.3
2+
======
3+
Apr 26, 2024
4+
* Update Selenium 4.20.0
5+
* Update support CDP 124 (Chromium)
6+
17
v1.7.2
28
======
39
Apr 02, 2024

pom.xml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>anhtester.com</groupId>
88
<artifactId>anhtester-cucumber-testng</artifactId>
9-
<version>1.7.1</version>
9+
<version>1.7.3</version>
1010
<name>TestAutomationFrameworkCucumberTestNG</name>
1111
<url>https://github.com/anhtester/AutomationFrameworkCucumberTestNG</url>
1212

@@ -18,15 +18,15 @@
1818
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
1919
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
2020

21-
<cucumber.java.version>7.16.1</cucumber.java.version>
21+
<cucumber.java.version>7.17.0</cucumber.java.version>
2222
<gherkin.version>28.0.0</gherkin.version>
2323
<cucumber-reporting.version>5.7.5</cucumber-reporting.version>
24-
<selenium.version>4.19.1</selenium.version>
25-
<testng.version>7.9.0</testng.version>
24+
<selenium.version>4.20.0</selenium.version>
25+
<testng.version>7.10.1</testng.version>
2626
<webdrivermanager.version>5.6.3</webdrivermanager.version>
2727
<aspectjweaver.version>1.9.22</aspectjweaver.version>
28-
<log4j.version>2.23.0</log4j.version>
29-
<allure-testng.version>2.26.0</allure-testng.version>
28+
<log4j.version>2.23.1</log4j.version>
29+
<allure-testng.version>2.27.0</allure-testng.version>
3030
<allure-maven.version>2.12.0</allure-maven.version>
3131
<allure-environment-writer.version>1.0.0</allure-environment-writer.version>
3232
<allure.cmd.download.url>
@@ -35,7 +35,7 @@
3535
<extentreports.version>5.1.1</extentreports.version>
3636
<apache-poi.version>5.2.5</apache-poi.version>
3737
<apache-poi-xml.version>5.2.5</apache-poi-xml.version>
38-
<commons-io.version>2.16.0</commons-io.version>
38+
<commons-io.version>2.16.1</commons-io.version>
3939
<owner.version>1.0.12</owner.version>
4040
<assertj.version>3.24.2</assertj.version>
4141
<monte-screen-recorder.version>0.7.7.0</monte-screen-recorder.version>
@@ -47,9 +47,12 @@
4747
<javax.mail.version>1.6.2</javax.mail.version>
4848
<zip.version>1.17</zip.version>
4949
<jackson.version>2.17.0</jackson.version>
50-
<datafaker.version>2.1.0</datafaker.version>
51-
<telegram.bot.version>7.1.1</telegram.bot.version>
52-
50+
<datafaker.version>2.2.2</datafaker.version>
51+
<telegram.bot.version>7.2.1</telegram.bot.version>
52+
<slf4j.version>2.0.13</slf4j.version>
53+
<commons-lang3.version>3.14.0</commons-lang3.version>
54+
<extentreports-cucumber7-adapter.version>1.14.0</extentreports-cucumber7-adapter.version>
55+
<mysql-connector-j.version>8.3.0</mysql-connector-j.version>
5356

5457
<!-- Suite XML path -->
5558
<suite.signin.parallel>src/test/resources/suites/SignIn-parallel-methods.xml</suite.signin.parallel>
@@ -66,7 +69,7 @@
6669
<dependency>
6770
<groupId>org.apache.commons</groupId>
6871
<artifactId>commons-lang3</artifactId>
69-
<version>3.14.0</version>
72+
<version>${commons-lang3.version}</version>
7073
</dependency>
7174

7275
<!-- https://mvnrepository.com/artifact/net.datafaker/datafaker -->
@@ -76,7 +79,6 @@
7679
<version>${datafaker.version}</version>
7780
</dependency>
7881

79-
<!-- telegram_bot -->
8082
<!-- https://mvnrepository.com/artifact/com.github.pengrad/java-telegram-bot-api -->
8183
<dependency>
8284
<groupId>com.github.pengrad</groupId>
@@ -118,7 +120,6 @@
118120
<version>${gherkin.version}</version>
119121
</dependency>
120122

121-
122123
<!-- https://mvnrepository.com/artifact/com.aventstack/extentreports -->
123124
<dependency>
124125
<groupId>com.aventstack</groupId>
@@ -130,21 +131,21 @@
130131
<dependency>
131132
<groupId>tech.grasshopper</groupId>
132133
<artifactId>extentreports-cucumber7-adapter</artifactId>
133-
<version>1.14.0</version>
134+
<version>${extentreports-cucumber7-adapter.version}</version>
134135
</dependency>
135136

136-
<!-- <dependency>-->
137-
<!-- <groupId>tech.grasshopper</groupId>-->
138-
<!-- <artifactId>pdfextentreporter</artifactId>-->
139-
<!-- <version>1.3.2</version>-->
140-
<!-- </dependency>-->
137+
<!-- <dependency>-->
138+
<!-- <groupId>tech.grasshopper</groupId>-->
139+
<!-- <artifactId>pdfextentreporter</artifactId>-->
140+
<!-- <version>1.3.2</version>-->
141+
<!-- </dependency>-->
141142

142-
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/tech.grasshopper/extent-pdf-report &ndash;&gt;-->
143-
<!-- <dependency>-->
144-
<!-- <groupId>tech.grasshopper</groupId>-->
145-
<!-- <artifactId>extent-pdf-report</artifactId>-->
146-
<!-- <version>2.12.0</version>-->
147-
<!-- </dependency>-->
143+
<!-- &lt;!&ndash; https://mvnrepository.com/artifact/tech.grasshopper/extent-pdf-report &ndash;&gt;-->
144+
<!-- <dependency>-->
145+
<!-- <groupId>tech.grasshopper</groupId>-->
146+
<!-- <artifactId>extent-pdf-report</artifactId>-->
147+
<!-- <version>2.12.0</version>-->
148+
<!-- </dependency>-->
148149

149150
<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-cucumber7-jvm -->
150151
<dependency>
@@ -212,13 +213,13 @@
212213
<dependency>
213214
<groupId>org.slf4j</groupId>
214215
<artifactId>slf4j-api</artifactId>
215-
<version>2.0.12</version>
216+
<version>${slf4j.version}</version>
216217
</dependency>
217218
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
218219
<dependency>
219220
<groupId>org.slf4j</groupId>
220221
<artifactId>slf4j-simple</artifactId>
221-
<version>2.0.12</version>
222+
<version>${slf4j.version}</version>
222223
</dependency>
223224

224225
<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-testng -->
@@ -308,7 +309,7 @@
308309
<dependency>
309310
<groupId>com.mysql</groupId>
310311
<artifactId>mysql-connector-j</artifactId>
311-
<version>8.3.0</version>
312+
<version>${mysql-connector-j.version}</version>
312313
</dependency>
313314

314315
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->

src/main/java/com/anhtester/keywords/WebUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
import org.openqa.selenium.chrome.ChromeOptions;
3131
import org.openqa.selenium.devtools.DevTools;
3232
import org.openqa.selenium.devtools.HasDevTools;
33-
import org.openqa.selenium.devtools.v123.network.Network;
34-
import org.openqa.selenium.devtools.v123.network.model.Headers;
33+
import org.openqa.selenium.devtools.v124.network.Network;
34+
import org.openqa.selenium.devtools.v124.network.model.Headers;
3535
import org.openqa.selenium.interactions.Actions;
3636
import org.openqa.selenium.print.PrintOptions;
3737
import org.openqa.selenium.support.ui.ExpectedCondition;

0 commit comments

Comments
 (0)