← All courses
SCRIPT
PLAYWRIGHT INTERVIEW QUESTIOS
PLAYWRIGHT INTERVIEW QUESTIOS
4.3 (2238)11,438 learners16 lessons31m
Curriculum
Topic
- 01 - What is Playwright, and what key advantages does it have over Selenium2:04
- 02 - Which browsers, languages, and operating systems does Playwright support2:06
- 03 - What is the difference between a Browser, a BrowserContext, and a Page — and why do contexts matter for test i1:53
- 04 - What is Playwright Test (@playwrighttest), and what does the built-in test runner give you out of the box1:57
- 05 - What is the difference between headless and headed execution, and when would you use each1:49
- 06 - How does Playwright achieve such fast and reliable execution compared to older WebDriver-based tools1:58
- 07 - What is Codegen, and how does it help you author tests quickly1:46
- 08 - What is the difference between a selector and a locator in Playwright1:48
- 09 - What are the modern, recommended locators (getByRole, getByText, getByLabel, getByTestId), and why are they pr1:58
- 10 - Why are role-based locators considered more resilient to UI changes — and how do they relate to accessibility1:50
- 11 - How do you handle a locator that matches multiple elements (filtering, nth, firstlast)1:57
- 12 - How do you interact with elements inside an iframe or a shadow DOM in Playwright2:13
- 13 - How do you locate a dynamic element whose text or attributes change between runs2:02
- 14 - What is auto-waiting, and what actionability checks does Playwright perform before an action like click()1:55
- 16 - Why should you avoid hardcoded waits (waitForTimeout sleep), and what do you use instead2:03
- 18 - What is the difference between toBeVisible(), toBeEnabled(), and toHaveText() — and why do they auto-retry1:55