1

I am trying to config chromedriver in visual studio 2019

I know this is something simple but I cant get chromedriver to launch

I have using visual studio 2019 and have chromedriver in this path:

\Visual Studio 2019\Python Scripts\Python 3.7 (64-bit)

but when i try to execute this code:

from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Chrome() 
driver.get("http://www.python.org")

I get:

 os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

I can't figure out why python can't find it

any help would be appreciated

Thanks

littlejiver
  • 189
  • 12

0 Answers0