ui-testing-book
ui-testing-book copied to clipboard
node test.js failed because chromedriver only supports Chrome version 77
https://github.com/klamping/ui-testing-book/blob/35772b5af63f8aa52fbefaef03e4f133028192fa/manuscript/1.2.3%20Installing%20WebdriverIO%20and%20Basic%20Usage.txt#L222
This is not a bug! I just wanted to mention that following your examples when I got to this part and ran node test.js
it failed because my version of Chrome was outdated:
2019-09-17T16:04:14.343Z ERROR webdriver: Request failed due to session not created: session not created: This version of ChromeDriver only supports Chrome version 77
I don't use Chrome as my primary browser so it's not using the latest version. If you think that other users may run into this issue, then you might want to update the section "Installing and Running Chromedriver" to include something about how npm install -g chromedriver
will give you a version of chromedriver that is dependent on an up-to-date version of Chrome.
This will be addressed with the next book update, which moves away from having to manually manage Chrome installations