Skip to content

2. Selenium WebDriver Installation

NaveenS edited this page May 26, 2019 · 1 revision

Selenium WebDriver

Selenium WebDriver is one of the most popular tools for Web UI Automation. It starts a web browser and any task that can be done typically on the web, Selenium+Python can do for you.

Why to choose Python over Java in Selenium

Few points that favor Python over Java to use with Selenium is,

  1. Java programs tend to run slower compared to Python programs.

  2. Java uses traditional braces to start and ends blocks, while Python uses indentation.

  3. Java employs static typing, while Python is dynamically typed.

  4. Python is simpler and more compact compared to Java.

Downloading Python bindings for Selenium

You can download Python bindings for Selenium from the PyCharm terminal using pip like this

pip install selenium

Then get the web driver from Download - Selenium blog.

Clone this wiki locally