...

/

Getting Started with the Selenium WebDriver Framework

Getting Started with the Selenium WebDriver Framework

Learn how to run tests with Selenium using WebDriver and Grid components.

To get started with Selenium, we’ll need to set up the grid for the specific browser drivers on which we would like to run our tests (Chrome, Firefox, Safari, or Edge).

Main components of Selenium

The Selenium framework consists of three main components:

  • Selenium WebDriver: This is a collection of several language bindings to drive different browsers for testing purposes, as well as the individual browsers controlling code.

  • Selenium Grid: This is a Selenium framework component that is designed to distribute and scale test automation by running tests in parallel across different combinations of browsers/OS versions.

  • Selenium IDE: This is a quick ramp-up solution that helps generate the first basic Selenium scripts through a browser plugin via recording, with no lines of code needing to be written.

Here, we’ll only cover Selenium WebDriver and Selenium Grid.

Note: Selenium IDE is a basic entry-level browser plugin that allows beginners to record their first Selenium ...