When Chrome Auto-Updates

Using Selenium Webdriver or similar frameworks to “drive” a browser, usually for UI or end-to-end test automation, you may occasionally get this message:

session not created: This version of ChromeDriver only supports Chrome version 83 (SessionNotCreated)
Exception doesn't have a stacktrace

This means that, perhaps without you even realizing it, an update to Chrome has been installed on your computer. It’s time to also update to a new version of chromedriver.

1. use Chrome’s Help / About menu (chrome://settings/help) and look for your currently-installed version number.

2. search for [Chromedriver downloads] (and most likely be pointed to chromedriver.chromium.org/downloads); download the version appropriate for your computer.

3. put it in the right place, replacing all existing copies of chromedriver.exe. Where exactly? Open a Powershell window and enter ls -path c:\ -include chromedriver.* -file -recurse -ErrorAction SilentlyContinue