Skip to content

Commit ca711ef

Browse files
committed
Attach proxy to the WebRequest.DefaultWebProxy if configured.
Closes #129
1 parent c76eb5f commit ca711ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WebDriverManager/DriverManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public DriverManager(IBinaryService binaryService, IVariableService variableServ
2929
public DriverManager WithProxy(IWebProxy proxy)
3030
{
3131
_binaryService = new BinaryService {Proxy = proxy};
32+
WebRequest.DefaultWebProxy = proxy;
3233
return this;
3334
}
3435

0 commit comments

Comments
 (0)