Chapter 2

Locators & Actions — quiz

5 questions · ~4 min

Chapter 2 quiz

Question 1 of 5

A login form has `<button>Sign in</button>` with no test id and no stable class. Which locator is the most resilient and idiomatic in Playwright?