Say Goodbye to Flaky Selenium Tests

Craig Schwarzwald

Selenium has an industry reputation of being a “flaky” tool where individual tests pass, then fail—sometimes with no production changes at all. Such flakiness in your test suites can be extremely difficult, time consuming, and frustrating to debug. The vast majority of these issues stem from using either bad locators or bad wait conditions. But both of these root causes can be addressed by implementing the right framework for your Selenium tests. Craig Schwarzwald shares the most important concepts in creating such a Selenium framework. He has proved that using a framework containing a Base Page Object that wraps core Selenium methods will produce a number of significant benefits to Selenium suites. Explore how having a single place to perform logging and error handling of core Selenium functions—as well as implementing easy uses for explicit waits—will solve nearly all Selenium flakiness issues in your test suites. Plus, you benefit from making your tests easy to create, read, and maintain over the long term.

Upcoming Events

Jun 23
Jul 12
Sep 29
Oct 20