标签:path span std exec rom ghost ble size bin
from selenium import webdriver
browser = webdriver.PhantomJS(executable_path="D:\PhantomJS\phantomjs-2.1.1-windows\bin\phantomjs")
报错“Unable to start phantomjs with ghostdriver.”
加上r就ok了
from selenium import webdriver
browser = webdriver.PhantomJS(executable_path=r"D:\PhantomJS\phantomjs-2.1.1-windows\bin\phantomjs")
标签:path span std exec rom ghost ble size bin
原文地址:http://www.cnblogs.com/lgh344902118/p/6102551.html