© Sujay Raghavendra 2021
S. RaghavendraPython Testing with Seleniumhttps://doi.org/10.1007/978-1-4842-6249-8_10

10. Waits

Sujay Raghavendra1  
(1)
Dharwad, Karnataka, India
 

Chapter 9 was about the various exceptions that could occur in a test case, and you saw how to handle them. This chapter provides a brief introduction to the waits that are used in Python on Selenium. A wait can minimize most of the exceptions that are triggered during the run of a test case.

There are times when web elements are available after specific actions are performed or after some time interval. These actions are done on the user end through forms, buttons, or mouse/keyboard actions that navigate or redirect the user to another web page.

The actions can also be performed ...

Get Python Testing with Selenium: Learn to Implement Different Testing Techniques Using the Selenium WebDriver now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.