In this chapter, we looked at how to control the automation script flow by using waits. We then created implicit and explicit waits. We saw the differences between these waits. Finally, we created custom waits by implementing the ExpectedConditions class.
In the next chapter, we'll explore the Page Object Model and model test automation scripts.