Back

Selenium WebDriver in 60 Seconds

Selenium WebDriver is a library of code that can be used to access elements of a webpage in order to allow automated tests to perform tasks on and assertions about elements of that webpage. The library provides code for navigating the DOM, Document Object Model. With coding patterns like the Page Object Pattern, an automation engineer can use WebDriver and the various browser driver libraries to create robust tests that are less fragile than tests created by software testing platforms that record actions and replay them later making them sensitive to changes in the layout of a webpage.

Because Selenium WebDriver does not contain code for controlling the browser it is important to remember that you have to also have browser drivers for Chrome, Edge, Safari, and Firefox web browsers and they must be properly implemented in the test framework.