Documentation
Install process
Module
Like other modules, this can be installed with the following:
py -m pip install seleniumGecko Driver
Selenium requires access to geckodriver, located here:
Set Executable Path
Replace <path> with the actual path to the driver wherever it is saved to on disk.
from selenium import webdriver
driver = webdriver.Firefox(executable_path=r'<path>\geckodriver.exe')
driver.get("<weblink>")Reference: