Chapter 7: Understanding Element Interaction in Cypress

Before we get started with how Cypress interacts with elements when running tests, it would be good to have a solid idea of the principles that make up Cypress, how it works, different Cypress commands, and even practical examples of the usage of Cypress. To fully understand this chapter, you will need to have followed the previous chapters, which will have set you up for success in your learning journey.

In this chapter, we will cover how Cypress interacts with elements and how it responds to different states of an element during interaction. We will also cover the fundamentals of how Cypress determines whether an element is ready for interaction or not through built-in mechanisms in Cypress ...

Get End-to-End Web Testing with Cypress 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.