0

I am trying to use selenium to test a webpage I am building. I downloaded chrome driver and placed the executable in the path below. I know the path is correct.

driver = webdriver.Chrome(executable_path=r'C:\Python\chromedriver.exe')

What can I do to address this or what am I missing?

  • Does this answer your question? [filenotfound error - chromedriver (web scraping)](https://stackoverflow.com/questions/65165596/filenotfound-error-chromedriver-web-scraping) – Pygirl Dec 07 '20 at 15:12

1 Answers1

0

Try calling the file without the ".exe" extension. I use chromedriver but I never need to call the extension.

driver = webdriver.Chrome('C:\Python\chromedriver')
ImCrimson
  • 146
  • 1
  • 1
  • 10