Selenium error

SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version XX

The installed ChromeDriver binary doesn't match the installed Chrome browser version.

Why this happens

How to fix it

  1. Use Selenium Manager (built into Selenium 4.6+) so it resolves and downloads the matching driver automatically
  2. If pinning manually, check the installed Chrome version (`chrome://version`) and download the matching ChromeDriver release
  3. In CI, pin the browser image version too, not just the driver, so both move together intentionally