Skip to content

Commit eaee33c

Browse files
committed
Fixing .NET serialization of proxy autoconfig URL
Fixes issue #5050.
1 parent 03d8714 commit eaee33c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dotnet/src/webdriver/Proxy.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,10 @@ private Dictionary<string, object> AsDictionary(bool isSpecCompliant)
464464
if (this.proxyKind == ProxyKind.ProxyAutoConfigure)
465465
{
466466
serializedDictionary["proxyType"] = "pac";
467+
if (!string.IsNullOrEmpty(this.proxyAutoConfigUrl))
468+
{
469+
serializedDictionary["proxyAutoconfigUrl"] = this.proxyAutoConfigUrl;
470+
}
467471
}
468472
else
469473
{

0 commit comments

Comments
 (0)