Question 3 of 10Pro Only
What are test selectors, and what strategies do you use for writing reliable selectors in your automation tests?
Sample answer preview
Test selectors, also called locators, are the mechanisms your automation framework uses to find and interact with elements on a web page. Choosing the right selector strategy is fundamental to building reliable, maintainable tests that do not break with every UI update.
selectorslocatorsdata-testidARIA rolesCSS selectorsXPath