无界面浏览器
下载解压缩
http://phantomjs.org/download.html
selenium调用
from selenium import webdriverimport timedriver=webdriver.PhantomJS(executable_path=‘D:\\tool\\phantomjs-2.1.1-windows\\bin\\phantomjs‘)driver.get("http://baidu.com")time.sleep(2)print driver.titledriver.close()
phantomJS浏览器
原文地址:https://www.cnblogs.com/xueli/p/8479068.html