[java] Allow origin of [::1] for geckodriver for IPv6 only systems
@@ -193,6 +193,7 @@ protected File findDefaultExecutable() {
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());
