selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service chromedriver.exe while opening chrome browser

后端 未结 2 828
情书的邮戳
情书的邮戳 2021-01-20 17:33

I have following environment at my local Chrome 67 Python 3.5.0 Selenium 3.12.0

I have downloaded chromedriver with version 2.39

I have .py file as follows

2条回答
  •  梦毁少年i
    2021-01-20 17:50

    You've made a mistake into the executable address :

    driver = webdriver.Chrome(executable_path="hromedriver.exe")
    

    It should be :

    driver = webdriver.Chrome(executable_path="chromedriver.exe")
    

提交回复
热议问题