Skip to content

Commit 28955cc

Browse files
committed
Fix compilation issues
32ff140 made ports and hostnames mandatory but left the code base not compiling. Fixed.
1 parent 7ba1186 commit 28955cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

java/client/test/com/thoughtworks/selenium/testing/SeleniumAppServer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ public class SeleniumAppServer extends JettyAppServer {
2727

2828
private static final String RC_CONTEXT_PATH = "/selenium-server";
2929

30+
public SeleniumAppServer() {
31+
this(detectHostname(), getHttpPortFromEnv(), getHttpsPortFromEnv());
32+
}
33+
3034
public SeleniumAppServer(String hostname, int httpPort, int httpsPort) {
3135
super(hostname, httpPort, httpsPort);
3236
ServletContextHandler context = addResourceHandler(RC_CONTEXT_PATH, findRootOfRcTestPages());

0 commit comments

Comments
 (0)