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 5b40670 commit 679fdb8Copy full SHA for 679fdb8
dotnet/src/webdriver/SeleniumManager.cs
@@ -98,6 +98,15 @@ public static string DriverPath(DriverOptions options)
98
argsBuilder.AppendFormat(CultureInfo.InvariantCulture, " --browser-path \"{0}\"", browserBinary);
99
}
100
101
+ if (options.Proxy != null)
102
+ {
103
+ if (options.Proxy.SslProxy != null) {
104
+ argsBuilder.AppendFormat(CultureInfo.InvariantCulture, " --proxy \"{0}\"", options.Proxy.SslProxy);
105
+ } else if (options.Proxy.HttpProxy != null) {
106
+ argsBuilder.AppendFormat(CultureInfo.InvariantCulture, " --proxy \"{0}\"", options.Proxy.HttpProxy);
107
+ }
108
109
+
110
return RunCommand(binaryFullPath, argsBuilder.ToString());
111
112
0 commit comments