[dotnet] Add --websocket-port command line argument for geckodriver
@@ -195,6 +195,8 @@ protected override string CommandLineArguments
argsBuilder.Append(" --jsdebugger");
}
+ argsBuilder.Append(string.Format(CultureInfo.InvariantCulture, " --websocket-port {0}", PortUtilities.FindFreePort()));
+
return argsBuilder.ToString().Trim();
}
}
