GeckoDriver,chromedriver,IEDriverServer淘宝镜像
http://npm.taobao.org/mirrors/chromedriver/
Firefox:http://npm.taobao.org/mirrors/geckodriver/
http://npm.taobao.org/mirrors/selenium/
版本下有IEDriverServer: http://npm.taobao.org/mirrors/selenium/2.40/IEDriverServer_x64_2.40.0.zip
http://npm.taobao.org/mirrors/operadriver/
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple selenium
#!/usr/bin/python # -*- coding: utf-8 -*- from selenium import webdriver import time browser = webdriver.Firefox() # browser = webdriver.Ie() # browser = webdriver.Chrome() browser.get("http://www.baidu.com") time.sleep(5) browser.quit()