title: Python selenium webdriver "Session not created" exception when opening Chrome
body: <p>Here's my code for opening Chrome:</p>
    
  <pre class="lang-py prettyprint-override"><code>from selenium import webdriver 
  driver=webdriver.Chrome('C:\\Users\\Imran\\AppData\\Local\\Programs\\Python\\Python36\\selenium\\chromedriver.exe')
  </code></pre>
  <p>Error when running program:</p>
  <pre class="lang-py prettyprint-override"><code>Traceback (most recent call last):
    File &quot;C:/Users/Imran/PycharmProjects/webscraping/WF Item.py&quot;, line 6, in &lt;module&gt;
      driver = webdriver.Chrome('C:\\Users\\Imran\\AppData\\Local\\Programs\\Python\\Python36\\selenium\\chromedriver.exe')
    File &quot;C:\Users\Imran\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py&quot;, line 69, in __init__
      desired_capabilities=desired_capabilities)
    File &quot;C:\Users\Imran\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 92, in __init__
      self.start_session(desired_capabilities, browser_profile)
    File &quot;C:\Users\Imran\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 179, in start_session
      response = self.execute(Command.NEW_SESSION, capabilities)
    File &quot;C:\Users\Imran\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 236, in execute
      self.error_handler.check_response(response)
    File &quot;C:\Users\Imran\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\remote\errorhandler.py&quot;, line 192, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: session not created exception
  from unknown error: Runtime.executionContextCreated has invalid 'context': {&quot;auxData&quot;:{&quot;frameId&quot;:&quot;27028.1&quot;,&quot;isDefault&quot;:true},&quot;id&quot;:1,&quot;name&quot;:&quot;&quot;,&quot;origin&quot;:&quot;://&quot;}
    (Session info: chrome=54.0.2840.71)
    (Driver info: chromedriver=2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129),platform=Windows NT 6.3.9600 x86_64)
  </code></pre>
  <p>Getting the following exception:</p>
  <pre class="lang-py prettyprint-override"><code>selenium.common.exceptions.WebDriverException: Message: session not created exception
  </code></pre>