title: Setting a proxy for Chrome Driver in Selenium
body: <p>I am using Selenium Webdriver using C# for Automation in Chrome browser.
  I need to check if my webpage is bloced in Some regions(some ip ranges). So I have to set a proxy in my Chrome browser . I tried the below code. The proxy is being set but I get an error. Could some one help me.</p>
  
  <pre><code>        ChromeOptions options = new ChromeOptions();
  
          options.AddArguments("--proxy-server=XXX.XXX.XXX.XXX");
  
          IWebDriver Driver = new ChromeDriver(options);
  
          Driver.Navigate().GoToUrl("myUrlGoesHere");
  </code></pre>
  
  <p>When I run this code, I get the following message in my Chrome browser: I tried to enable the Proxy option, but the ' Change proxy settings' option is disabled.</p>
  
  <p>*Unable to connect to the proxy server</p>
  
  <p>A proxy server is a server that acts as an intermediary between your computer and other servers. Right now, your system is configured to use a proxy, but Google Chrome can't connect to it.
  If you use a proxy server...
  Check your proxy settings or contact your network administrator to make sure the proxy server is working. If you don't believe you should be using a proxy server: Go to the Chrome menu > Settings > Show advanced settings... > Change proxy settings... > LAN Settings and deselect "Use a proxy server for your LAN".
  Error code: ERR_PROXY_CONNECTION_FAILED*</p>