Back to Tech Interviews

Playwright E2E Testing Interview

Curated 20+ questions covering Playwright browser contexts, locators, auto-waiting, API routing, Trace Viewer, and parallel executions.

Total: 20 QuestionsLearned: 0 / 20 (0%)
Difficulty Filters

Tools & Options
Showing 20 of 20 questions
Beginner
What is Playwright, and who maintains it?
Intermediate
What are the key advantages of Playwright over Cypress?
Intermediate
What is a Browser Context in Playwright?
Beginner
Explain Playwright Locators and the Locator API.
Beginner
How does Playwright handle auto-waiting?
Intermediate
What is the Playwright Trace Viewer?
Intermediate
How do you mock API network requests in Playwright?
Advanced
How do you save and reuse login state in Playwright?
Intermediate
Explain the difference between `page.click()` and `locator.click()`.
Beginner
How do you test drag and drop in Playwright?
Advanced
How do you handle multiple windows or tabs in Playwright?
Beginner
What is headless mode in Playwright, and how do you configure it?
Intermediate
Explain soft assertions in Playwright.
Beginner
What is Playwright Test Generator (Codegen)?
Intermediate
Explain the `test.use()` block in Playwright.
Advanced
How do you wait for network requests to complete in Playwright?
Advanced
What are Playwright fixtures?
Intermediate
How do you run tests in parallel in Playwright?
Beginner
How do you test file uploads in Playwright?
Beginner
What is a locator's `.nth()` and `.first()` methods?