Skip to content

Commit

Permalink
[java] bind the test server to the address used to connect to it
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg1985 committed Aug 26, 2023
1 parent 174b880 commit edb4c75
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public OutOfProcessSeleniumServer start(String mode, String... extraFlags) {

List<String> startupArgs = new ArrayList<>();
startupArgs.add(mode);
startupArgs.add("--host");
startupArgs.add(localAddress);
startupArgs.add("--port");
startupArgs.add(String.valueOf(port));
if (!driverProvided) {
Expand Down

0 comments on commit edb4c75

Please sign in to comment.