Overriding Binary path

27 views
Skip to first unread message

Henry Kombem

unread,
Dec 2, 2022, 4:12:43 PM12/2/22
to NightwatchJs
Hey all, hope everyone's doing okay. Just some background. Every time chrome updates, I must update chrome driver as well. I tried disabling chrome auto updates but that was in vain. The problem is, this time when I tried to update chromedriver I run into all these other issues. The solution I've decided to go with is having nightwatch reference an older static chromium version, but I'm having trouble getting my nightwatch configuration to reference an older chromium executable aka   setting the chrome binary path. Reason I made this assumption is due to the error message below. It's still pointing to the generic program files chrome executable. I also attached my nightwatch.conf.js  file

Please let me know if anything is needed from me. Thanks!!

Error Message
/******************************************************************************************/
 SessionNotCreatedError: An error occurred while creating a new ChromeDriver session: [SessionNotCreatedError] session not created: This version of ChromeDriver only supports Chrome version 106
 Current browser version is 108.0.5359.72 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
/******************************************************************************************/
nightwatch.conf.json

Henry Kombem

unread,
Dec 5, 2022, 12:41:42 PM12/5/22
to NightwatchJs
Turns out we needed to update our nightwatch version, to 2.5.3 as of now
Thanks
Reply all
Reply to author
Forward
0 new messages