Skip to content

Commit 936669e

Browse files
committed
Switch command line app server to netty
1 parent 679670b commit 936669e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/client/test/org/openqa/selenium/environment/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ java_library(
6868
java_binary(
6969
name = "appserver",
7070
testonly = True,
71-
main_class = "org.openqa.selenium.environment.webserver.JettyAppServer",
71+
main_class = "org.openqa.selenium.environment.webserver.NettyAppServer",
7272
visibility = [
7373
"//:__pkg__",
7474
"//dotnet/test:__subpackages__",

java/client/test/org/openqa/selenium/environment/webserver/NettyAppServer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,6 @@ public static void main(String[] args) {
158158
NettyAppServer server = new NettyAppServer();
159159
server.start();
160160

161-
System.out.println(server.whereIs("/"));
161+
System.out.printf("Server started. Root URL: %s%n", server.whereIs("/"));
162162
}
163163
}

0 commit comments

Comments
 (0)