Chapter 2

Locators, Actions & Assertions — 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 Playwright Python locator is the most resilient and idiomatic?