Getting Started with the Selenium WebDriver Framework
Explore the foundational components of Selenium including WebDriver and Grid. Understand how to run automated browser tests across multiple browsers and scale testing using Selenium Grid. Gain hands-on experience with running JavaScript tests on Chrome and configuring test options for effective web automation.
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. ...