Skip to main content

Quiz: Selectors & Actions

Test what you learned in this lesson before moving on.

Lesson Quiz

Pass with 80% to complete this lesson.

1. Why does Playwright recommend `getByRole` as the preferred locator strategy?

2. What is the difference between `fill()` and `pressSequentially()` in Playwright?

3. Which of the following does Playwright's auto-waiting NOT check before performing a click action?