SplinterForge-Bot icon indicating copy to clipboard operation
SplinterForge-Bot copied to clipboard

Getting error of missing chromeDriver

Open Assassyn opened this issue 2 years ago • 9 comments

Hi,

I am trying to run the bot, nad after I have installed Chrom browser I am missing ChromeDriver with a message:

Failed to create ChromeDriver service: exec: "": executable file not found in %PATH% PS C:\Users\szymo\Downloads\SplinterForge-Bot-v1.0.2-win>

Assassyn avatar Apr 12 '23 10:04 Assassyn

this could happen if your google chrome PATH and also reg PATH is not set up in the system enviorment, make sure you have C:\Windows\System32 in the administrator path and also sys path and restart the computer.

astr0-g avatar Apr 12 '23 16:04 astr0-g

I have added chrome, chrome driver and systme32 to PATH and the error still occurs.

image

Assassyn avatar Apr 12 '23 18:04 Assassyn

did you add them in both administrator and system? and also restart the computer

astr0-g avatar Apr 12 '23 19:04 astr0-g

I have added chrome, chrome driver and systme32 to PATH and the error still occurs.

image

looks right tho... do you mind me to teamview your computer and see? if so join the discord server and let me know

astr0-g avatar Apr 12 '23 19:04 astr0-g

just in the system and no restart, I will try it now.

I am out of the country now so we can try to remote to the box during the weekend.

Assassyn avatar Apr 13 '23 17:04 Assassyn

okay lmk

astr0-g avatar Apr 13 '23 17:04 astr0-g

I have added it in admin mode and rebooted the machine and still no difference.

Just, maybe and odd question, where should I place the chrome driver?

Assassyn avatar Apr 13 '23 17:04 Assassyn

there is no need to place the chrome driver, the bot automatically download the chromedriver and save it.

we have to debug the auto installation package, if you know how to do it, use the go file and test it

astr0-g avatar Apr 13 '23 17:04 astr0-g

Had the same issue. Replaced line 142 in Splinterforge.go with: "wd, err := selenium.NewChromeDriverService("chrome/chromedriver.exe", 9515)" Created a folder "chrome" in the main folder and put the newest version of chromedriver in it. Works now.

Moenkemo avatar Dec 01 '23 20:12 Moenkemo