Proxy Selenium

mail@pastecode.io avatar
unknown
csharp
2 years ago
454 B
3
Indexable
Never
#region ProxySelenium
            var options = new ChromeOptions();
            options.AddHttpProxy("168.91.96.132", 19964, "gutierrez", "Articolo31");

            //var driver = new ChromeDriver(options); // or new ChromeDriver(AppDomain.CurrentDomain.BaseDirectory, options);
            webDriver = new ChromeDriver(options);
            webDriver.Navigate().GoToUrl("https://whatismyipaddress.com/"); // Check your IP
            #endregion