O'Reilly logo

Selenium Fundamentals by Diego Molina

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tracking Down Timing Errors with Synchronization Points

In Chapter 5, Waiting for Elements, you learned about the different types of waits that can be used in Selenium. Another way to call the waits is by making use of synchronization points, because they enable our automation scripts to wait until the web application responds. The web application being tested is a simple web page that loads an element. This element always shows up randomly, between 0 and 10 seconds (this has been done intentionally, to simulate an application that is loading information from different backend services). After the element shows up, we click on it, and the second element loads. This goes on until the fourth element, when the last click changes the contents ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required