Course lesson
Use the queryBy Query to get Elements that Won't Always be on the Page
In order for you to interact with the elements in your tests, you need to query for them.
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
In order for you to interact with the elements in your tests, you need to query for them.
In this lesson, we will learn about one of the query variants that allows you to search for something that you expect not to be in your UI: the queryBy*.