from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
// replace the path to path of your firefox process, please use absolute path
// and make your account has the execution right on the firefox process
binary = FirefoxBinary('F:\FirefoxPortable\Firefox.exe')
driver = webdriver.Firefox(firefox_binary=binary)
在生成驱动程序时指定firefox可执行文件。你知道吗
相关问题 更多 >
编程相关推荐