当我这样做时:
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver =webdriver.Firefox()
driver.get("http://www.python.org")
实际上是差异。来自:
from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
binary = FirefoxBinary('path/to/installed firefox binary')
browser = webdriver.Firefox(firefox_binary=binary)
那么什么是壁虎驱动程序?为什么我们需要在某个时候下载它?