pip install selenium
pip install --upgrade selenium
A driver is required to interact with the specified browser. Each browser has a particular Selenium WebDriver associated with it, so you need to install any one of the drivers provided
Mozilla Firefox
https://github.com/mozilla/geckodriver/releases
Google Chrome
https://sites.google.com/a/chromium.org/chromedriver/downloads
Microsoft Edge
https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
Apple Safari
https://webkit.org/blog/6900/webdriver-support-in-safari-10/