Skip to content

Commit 150ae96

Browse files
committed
Upgrade to Selenium 4.27.0
1 parent 164a0e5 commit 150ae96

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
3333
<maven.compiler.source>11</maven.compiler.source>
3434
<maven.compiler.target>11</maven.compiler.target>
35-
<selenium.version>4.26.0</selenium.version>
36-
<htmlunit.version>4.26.0</htmlunit.version>
35+
<selenium.version>4.27.0</selenium.version>
36+
<htmlunit.version>4.27.0</htmlunit.version>
3737
<checkstyle.version>10.15.0</checkstyle.version>
3838
<spotbugs.version>4.8.4</spotbugs.version>
3939
<dependencycheck.version>9.1.0</dependencycheck.version>

src/main/java/org/openqa/selenium/htmlunit/remote/HtmlUnitDriverServer.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,12 @@ public HttpResponse execute(final HttpRequest req) throws UncheckedIOException {
419419
get("/status").to(() -> req -> successWithData(Map.of("ready", true, "message", "HtmlUnitDriverServer is ready."))),
420420
get("/readyz").to(() -> req -> new HttpResponse().setStatus(HTTP_NO_CONTENT))),
421421
null
422-
);
422+
) {
423+
@Override
424+
public void close() {
425+
// TODO: Add implementation
426+
}
427+
};
423428
}
424429

425430
/**

src/test/java/org/openqa/selenium/htmlunit/WebDriverTestCase.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ private static Handlers createHandlers() {
8484
get(TestPage.FRAME_C.path).to(() -> req -> getPageFromResource("Frame_C.html")),
8585
get(TestPage.FRAME_D.path).to(() -> req -> getPageFromResource("Frame_D.html")),
8686
get("/readyz").to(() -> req -> new HttpResponse().setStatus(HTTP_NO_CONTENT))),
87-
null);
87+
null
88+
) {
89+
@Override
90+
public void close() {
91+
// TODO: Add implementation
92+
}
93+
};
8894
}
8995

9096
private static HttpResponse getPageFromResource(final String resource) {

0 commit comments

Comments
 (0)