selenium.common.exceptions.WebDriverException: Message: 'chromedriver
(2016-10-19 12:46:30)
标签:
pythonselenium大数据科技数据 |
分类: python |
For windows
对于windows来说
Download webdriver from:
从下面的链接下载最新的webdriver
http://chromedriver.storage.googleapis.com/2.9/chromedriver_win32.zip
或者可以到(官网)下载最新的chromedriver
or download the latest chromedriver
将 chromedriver.exe文件复制粘贴到"C:\Python27\Scripts"文件
Paste the chromedriver.exe file in "C:\Python27\Scripts"
Folder.
接下来就应该可以工作了
This should work now.
from selenium import webdriver
driver = webdriver.Chrome()

加载中…