Can't use chrome driver for Selenium

后端 未结 12 1197
鱼传尺愫
鱼传尺愫 2020-12-01 03:57

I\'m having trouble using the Chrome driver for Selenium. I have the chromedriver downloaded and saved to C:\\Chrome:

driver = webdriver.Chrome(executable_pa         


        
12条回答
  •  时光说笑
    2020-12-01 04:03

    For Windows with virtual workspace

    First, check your browser version: go to 3 dons most right corner of the chrome browser and click it, then, --> Help-->About Google Chrome

    once you identify our browser version, we have to download and install chrome drive from this link

    extract the zip folder and past chromedriver.exe file in C:\Users\name\virtual_workspace\Scripts

    from selenium import webdriver
    wbdriver = webdriver.Chrome()
    

提交回复
热议问题