We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af12e43 commit 96c4ecdCopy full SHA for 96c4ecd
java/src/org/openqa/selenium/firefox/GeckoDriverService.java
@@ -190,7 +190,9 @@ protected List<String> createArgs() {
190
int wsPort = PortProber.findFreePort();
191
args.add(String.format("--port=%d", getPort()));
192
args.add(String.format("--websocket-port=%d", wsPort));
193
- args.add(String.format("--allow-origins=http://localhost:%d", wsPort));
+ args.add("--allow-origins");
194
+ args.add(String.format("http://127.0.0.1:%d", wsPort));
195
+ args.add(String.format("http://localhost:%d", wsPort));
196
if (firefoxBinary != null) {
197
args.add("-b");
198
args.add(firefoxBinary.getPath());
0 commit comments