Skip to content

Commit

Permalink
[java] Allow origin of [::1] for geckodriver for IPv6 only systems
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Sep 28, 2022
1 parent 3e7c6e1 commit f7b97cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ protected List<String> createArgs() {
args.add("--allow-origins");
args.add(String.format("http://127.0.0.1:%d", wsPort));
args.add(String.format("http://localhost:%d", wsPort));
args.add(String.format("http://[::1]:%d", wsPort));
if (firefoxBinary != null) {
args.add("-b");
args.add(firefoxBinary.getPath());
Expand Down

0 comments on commit f7b97cb

Please sign in to comment.