title: How to Block Request URL in C# Selenium ChromeDriver
body: <p>I have following code to start an automated test software in Google Chrome driver.
  I want to block some request in the page. (e.g <code>https://www.someurl.com/api/getdata</code>)</p>
  
  <p>Manuelly, I can block the request in Developer Tools by <code>Right Click on the request</code> <code>-&gt;</code> <code>Block Request URL</code>.</p>
  
  <p>How can I block the request url in the code?</p>
  
  <pre><code>ChromeDriverService service = ChromeDriverService.CreateDefaultService();
  IWebDriver driver = new ChromeDriver(service);
  
  string url = "https://www.someurl.com";
  driver.Navigate().GoToUrl(url);
  </code></pre>