title: Selenium Chrome Webdriver in Incognito Mode
body: <p>I am trying to test Selenium in incognito mode. I've looked up online about how to make it in Python but couldn't really find a new version of the procedure. From what I could find, I made following script:</p>
  <pre><code>from selenium.webdriver import Chrome
  from selenium.webdriver.chrome.service import Service
  from selenium.webdriver.chrome.options import Options
  from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
    
  options = Options()
  options.add_argument(&quot;−−incognito&quot;)
  c = DesiredCapabilities.CHROME.copy()
  
  s = Service('C:\Program Files (x86)\chromedriver.exe')
  driver = Chrome(service=s, options=options, desired_capabilities=c)
  </code></pre>
  <p>But this doesn't make the browser to launch in incognito mode. What is wrong here? What could I add to make it work?</p>