From the course: Advanced Selenium: Support Classes

The best-kept secret in WebDriver - Selenium Tutorial

From the course: Advanced Selenium: Support Classes

Start my 1-month free trial

The best-kept secret in WebDriver

- [Alan] Some test code can take too long to update and maintain, requiring lots of test changes from a simple application change and some test code runs in the build and then the next time it fails even though the application didn't change. That costs time, money, and prevents you from automating more of the application. Support classes within Selenium have patterns that can help. Like page objects for modeling pages of your application GUI and classes. Component objects to represent shared and framework components. Additionally, element abstractions which can represent common HTML elements to make them easier to work with and synchronization concepts like slow loadable component and web driver wait make sure your tests are robust when they execute. Hi, I'm Alan and I've worked with Selenium WebDriver with Java for years and I'm excited to share some features of WebDriver that can help you automate effectively. Let's get started.

Contents