Currently, in order to run selenium chrome driver with a proxy I use the following C# code:
options.AddArguments("--proxy-server=" + myProxyHandler.NextProxy());
driver = new ChromeDriver(options);
The problem that I have is that in order for me to switch the proxy I have to create a new instance of the driver, which means loading it anew.
Is there any way to change the proxy with a current instance and not need to recreate a new instance?