This Article Shows You How-to Get Installed the Python Selenium Webdriver on Linux.
Here Below you will Find also a Link to Get Installed also the Chromedriver for Selenium on Linux.
Relax and Take the Time of Reading, Understanding and Executing the Instructions and Commands Delineated.
- Open a Terminal Window
(Press “Enter” to Execute Commands)
- Check if Python Setuptools are Installed
If Not Find a Guide to Install the Python Setuptools on your Linux Distro…
- Install the Python Pip Package
- Install the Selenium Webdriver
pip install selenium
- Sample Test on Python ConsoleOpen a New Terminal Window.
<<< from selenium import webdriver
<<< driver = webdriver.Firefox()
To Confirm the Selenium Webdriver Successful Installation you should Perceive a Popping Up Firefox Browser Window.
Install/Setup Selenium Chromedriver for Linux:Chromedriver Setup for Linux