Getting Chrome to launch via Selenium

前端 未结 6 1111
太阳男子
太阳男子 2020-12-29 06:01

Hi all I\'m very new to this and am having issues getting an instance of a Chrome browser from selenium in python. I\'m using Windows 8. I have downloaded the chromedriver b

6条回答
  •  囚心锁ツ
    2020-12-29 06:30

    I used the following and it worked! Thanks!

    driver = webdriver.Chrome(executable_path=r'C:\chromedriver.exe')
    #put your own path between the ''
    

提交回复
热议问题