electron-userland / spectron

DEPRECATED: 🔎 Test Electron apps using ChromeDriver
http://electronjs.org/spectron
MIT License
1.68k stars 229 forks source link

ChromeDriver / Chrome version mismatch #1041

Closed SamKomesarook closed 2 years ago

SamKomesarook commented 2 years ago

ENV:

When attempting to run a simple jest test, about a dozen chrome tabs open before I see the following err: session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 94.0.4606.71 with binary path node_modules/spectron/lib/launcher.js

This might be an issue with chromedriver, but given that the path points to spectron, I thought I'd report it here first. Is there a clear version mismatch messing up my env? I've reinstalled my packages a few times now, upgraded all of them to the latest versions, but chromedriver doesn't seem to be on the latest version...

I've also installed chromedriver via apt, which appears to be version 94.0.4606.81.

andersk commented 2 years ago

The README explains that Spectron 15 is only compatible with Electron 13. See #1027, #1038.

SamKomesarook commented 2 years ago

Ah my mistake, thanks, will close this is favour of the other issues