Summary
In this chapter, we learned the concept of flaky tests, and we saw many techniques and tools to prevent having flaky tests in our test suites.
While we were learning about these wait tools, we saw many page events without even noticing them. Now you can not only wait for selectors and network calls but you can also deal with dialogs and popups.
The last section was short, but as promised, we now have another tool in our toolbox, a headless recorder.
In the next chapter, we will get into more advanced tools and learn how to execute JavaScript in the browser.