diff --git a/java/src/org/openqa/selenium/firefox/GeckoDriverService.java b/java/src/org/openqa/selenium/firefox/GeckoDriverService.java index d23e8e81e0d9b..7919639a5800c 100644 --- a/java/src/org/openqa/selenium/firefox/GeckoDriverService.java +++ b/java/src/org/openqa/selenium/firefox/GeckoDriverService.java @@ -193,6 +193,7 @@ protected List 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());