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
- Chrome auto-updated but the ChromeDriver binary wasn't updated to match
- CI pinned a specific ChromeDriver version that's now behind the runner image's Chrome
How to fix it
- Use Selenium Manager (built into Selenium 4.6+) so it resolves and downloads the matching driver automatically
- If pinning manually, check the installed Chrome version (`chrome://version`) and download the matching ChromeDriver release
- In CI, pin the browser image version too, not just the driver, so both move together intentionally