Chapter 9: Working with the Selenium Framework
As highlighted in Chapter 3, Top Web Test Automation Frameworks, Selenium is one of the oldest test automation frameworks on the market. The framework is open source and supports many language bindings (Java, JavaScript, Python, and so on), and it is the base for many other leading frameworks in the marketplace such as WebdriverIO. Being W3C-compliant and based on the WebDriver protocol, this client-server framework allows developers to build test automation across all available browsers (desktop and mobile) and through its Grid tool, run in parallel and at scale. In this chapter, the reader will get a deep technical overview of the framework with a focus on its advanced capabilities, including support for CDP, relative locators, visual testing, cloud testing, support for Behavior-Driven Development (BDD) testing, and self-healing add-ons. The goal of the chapter is to help frontend developers enrich their test automation coverage with...