[FreeBSD] Python3 安裝 selenium + firefox + geckodriver

FreeBSD Version: FreeBSD 11.1-RELEASE
Python Version: Python 3.7.9
PIP Version: pip 20.2.4

先 search 看版本

#pkg search firefox
firefox-82.0,2                 Web browser based on the browser portion of Mozilla
#pkg search geckodriver
geckodriver-0.26.0_9           Proxy for using WebDriver clients with Gecko-based browsers
#pkg search selenium
selenium-3.141.59              Selenium Standalone Server, allows browser testing
#pip3 search selenium
selenium (3.141.0)                                 - Python bindings for Selenium

確認一下相容性沒有問題後,安裝囉:

#pkg install firefox
#pkg install geckodriver
#pip3 install selenium
Please follow and like us:

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *