Course lesson
Get Elements Associated With a Label Using the byLabelText Query
When interacting with form fields, the user knows what an element is supposed to do, thanks to its label.
- Duration
- 1 min
- Access
- Included
- Transcript
- Retained from source evidence
When interacting with form fields, the user knows what an element is supposed to do, thanks to its label.
In this lesson, we will look at another one of the queries that are part of the queries accessible to everyone's family and really helpful when dealing with forms: the byLabelText query.