title: Selenium chrome driver to open website c# with headless
body: <p>This is my code with open web.whatsapp.com url and I add argument "Headless" so not open page but give the selection of the which browser to open.
  So how to avoid browser selection and get page.
  but without "Headless" then easy to open webpage and not asking any option to selection</p>
  
  <pre><code>ChromeDriverService service = ChromeDriverService.CreateDefaultService();
  service.HideCommandPromptWindow = true;
  
  var options = new ChromeOptions();
  options.AddArgument("headless");
  Driver = new ChromeDriver(service, options);
  Driver.Navigate().GoToUrl("https://web.whatsapp.com/");
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ib0Fa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ib0Fa.png" alt="img"></a></p>