chromedriver executable not found in path, but I have it in path according to echo

I don’t know what the code looks like, but from what I know, is that when I put my chromedriver and my .py file in the same folder and run it through an IDE, it works fine but it gives me that error when I run it straight with python. So you can try this

from selenium import webdriver

driver = webdriver.Chrome(executable_path = r'path_to_chromedriver.exe')

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top