title: ChromeDriver "cannot create default profile directory"
body: <p>I am using selenium with python, and I'm trying to use some arguments for starting the chromedriver.</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.chrome.options import Options as ChromeOptions
  
  def buildDriver():
      options = ChromeOptions()
      options.add_argument('--profile-directory="Default"')
      options.add_argument('--user-data-dir="C:/Temp/ChromeProfile"')
      browser = webdriver.Chrome(chrome_options=options)
  
  driver = buildDriver()
  </code></pre>
  
  <p>I have not been able to find a solution to the following error:</p>
  
  <blockquote>
    <p>selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create default profile directory</p>
  </blockquote>
  
  <p>Googling this error doesn't result in anything meaningful, at least not for me.</p>