Not 300 questions. The 48 Playwright TypeScript questions SDET interviews keep coming back to.
Free: the 48 Playwright TypeScript questions SDET interviews keep coming back to, with clear answers, code and the mistakes to avoid.
Not 300 questions. The 48 Playwright TypeScript questions SDET interviews keep coming back to, with clear answers, code and the mistakes to avoid.
48 pages
12 parts
48 questions
β β β β β 4.8 from 4 verified owners
1Enter your name and emailβ
2Type the 6-digit code from your inboxβ
3Download the PDF
Knowing Playwright and explaining it are two different skills
In interviews, good testers lose marks because:
They describe what a feature is, not the problem it solves in a real project.
Scenario questions (two users side by side, a flaky test, a 3 second token setup) catch them without a ready example.
Their code works on their machine but they cannot explain why, for example why a fixture beats beforeEach.
They repeat the same weak answer interviewers hear all day.
Why 48 and not 300
Question banks with hundreds of entries spread your time thin and repeat the same idea in ten forms. These 48 are the questions SDET interviews keep returning to, each answered properly with code. You prepare what you are most likely to be asked, and you prepare it well.
After this playbook you can
Answer every common Playwright question in short points you can say out loud.
Back each answer with a small, real TypeScript example.
Handle scenario questions on contexts, locators, auto-waiting, fixtures, network mocking, auth, flaky tests and CI.
Avoid the common mistake listed under every answer.
Prove it with a hands-on task at the end of every part.
Look inside
The first 3 pages of 48, exactly as you get them. Swipe, then tap a page to enlarge it.
Page 1 of 48
Page 2 of 48
Page 3 of 48
π
Page 4 of 48
π
Page 5 of 48
π
Page 6 of 48
π Get it free to unlock all 48 pages
Full table of contents
All 12 parts and 48 questions, exactly as they appear in the PDF. Tap a part to see its questions.
1Part 1. Playwright Basics and Architecture4 questions
Your company runs Selenium. Why are teams like yours moving to Playwright?
One test must show an admin and a customer working at the same time. How do Browser, BrowserContext and Page make that possible?
Which browsers does Playwright support, and what is the difference between bundled Chromium and the Chrome channel?
How do you set up a Playwright TypeScript project from scratch?
2Part 2. TypeScript for Testers5 questions
Why use TypeScript instead of JavaScript for Playwright tests?
What are interfaces and types, and where do you use them in a test framework?
A test sometimes fails with "Target closed" and sometimes passes. You suspect a missing await. Explain what is going on.
What are generics, and how do they help in a test framework?
How do you manage environment config and secrets in a Playwright TypeScript framework?
3Part 3. Locators5 questions
Your element handle throws errors after the page re-renders. Why do Playwright locators not have this problem?
Which locator strategy do you recommend, and in what order?
How do you work with lists and tables using filter, nth and chaining?
A card payment form sits inside an iframe and a cookie banner lives in shadow DOM. How do you automate both?
How do you generate and debug locators quickly?
4Part 4. Auto-waiting and Assertions5 questions
What is auto-waiting, and what does Playwright check before it performs an action?
What are web-first assertions, and why are they better than reading a value and checking it?
Explain soft assertions, expect.poll and toPass.
What are the different timeouts in Playwright, and what are their defaults?
How do you do visual testing with toHaveScreenshot?
5Part 5. Test Runner, Config and Projects4 questions
Walk me through the important settings in playwright.config.ts.
You must run one suite on Chrome, Safari and a phone viewport, after a login step. How do projects handle this?
How do you organise and filter tests with describe, tags and annotations?
How do you run tests in order when a flow truly needs it?
6Part 6. Fixtures and Hooks3 questions
Every spec file starts with the same 20 lines of setup. How do Playwright fixtures fix this?
What is the difference between test-scoped and worker-scoped fixtures? What is an auto fixture?
When do you use beforeAll and beforeEach hooks instead of fixtures?
7Part 7. Page Object Model and Framework Design3 questions
The same login locators are copied into 30 test files. How would you refactor this with the Page Object Model?
How would you design a scalable Playwright framework? Walk me through the folder structure.
Two parallel tests keep editing the same student account and fail at random. How should test data be managed?
8Part 8. Network Mocking and API Testing5 questions
How do you mock or change network responses with page.route?
After clicking Place order, you need the order id from the API response. How do you capture it reliably?
Can Playwright test a REST API without opening a browser? Show how.
You want to create an order quickly through the API, then check it on screen. How do you mix API and UI in one test?
What is HAR recording and replay, and when would you use it?
9Part 9. Authentication and Sessions3 questions
Every test spends 6 seconds on the login screen. How do you remove that cost?
How do you test an app with several user roles?
How do you handle OTP, 2FA and captcha in automated tests?
10Part 10. Debugging and Flaky Tests4 questions
A test failed in last night's run. Which tools do you open, and in what order?
What is the Trace Viewer, and what does it show?
Your checkout test is green on your laptop and red in CI every third run. Walk me through your investigation.
Your suite has 15 tests that fail at random. Which causes do you look for, and how do you fix each one?
11Part 11. Parallel Runs, CI/CD and Docker4 questions
You set workers to 4. What actually runs in parallel, and what must your tests do to stay safe?
Your suite takes 40 minutes on one machine. How do you split it across 4 CI machines and still get one report?
Your team wants every pull request tested automatically. What does a Playwright pipeline look like?
Screenshots differ between your laptop and CI because fonts render differently. How does running Playwright in Docker fix this?
12Part 12. Playwright with AI3 questions
Your manager asks how an AI assistant could explore the app and draft tests. Explain Playwright MCP.
How would you use AI in your testing work without lowering quality?
What are Playwright test agents (planner, generator, healer)?
Who it is for
This is for you if
Testers interviewing for Playwright roles where the team writes tests in TypeScript.
Selenium testers moving to Playwright.
Anyone who wants to check the quality of TWJ playbooks before buying one.
It is not for you if
Your team uses JavaScript. Get the Playwright JavaScript Interview Playbook.
You have never written a test. Start with the free Playwright lessons on the LMS first.
What is inside
In every answerShort points to say out loud, a small real code example, the one line to remember and the common mistake to avoid.
Try it yourselfA hands-on task at the end of every part.
PDF, 48 pages. Reads well on phone, tablet and laptop. Free instant download.
What changed
2026-10-23. First edition: 48 questions in 12 parts with diagrams and practice tasks
From Jatin
Jatin Shharma
12+ years in test automation at Infosys, HERE Maps (originally Nokia Maps) and B2X. Client work for BMW and Audi, including self-parking car automation.
Long question banks spread your time thin. These are the 48 questions SDET interviews keep coming back to, each answered properly, so you prepare what you are most likely to be asked instead of skimming hundreds.
Is it really free?
Yes. Enter your details and download it right away.
Who is it for?
Testers preparing for Playwright TypeScript or SDET interviews.
Do I need Playwright experience?
Basic TypeScript helps. Each answer explains the idea first, then shows code.
Will I get updates?
Yes. Download the latest version anytime from My purchases.
Why is it free?
So you can judge the quality before you spend anything. If it helps, the Coding Round Playbook and the Last-Minute Notes are the next steps.
Reviews
β β β β β 5 out of 5
The content is very good to understand.
Vidyasagar N.D, verified owner
β β β β β 5 out of 5
Consistently Outstanding Content
"The content was exceptionally well-structured and very helpful. It provided immense support for my interview preparation and continues to be a great resource. I have used similar content from you before as well, and the quality is consistently top-notch. The questions are interviewer-friendly, and the answers are detailed and easy to understand. Highly recommended!"
Kamal, verified owner
β β β β β4 out of 5
It was good and very knowledgeable just asking if I only get subscription for playwright with JS and TS videos?
Harsh, verified owner
β β β β β 5 out of 5
Hi Jatin,
Interview questions were so real time and scenario based. That is good part of playbook. Just a small suggestion, now a days in interview they are asking questions related to - AI with your test automation framework. How if you can add similar kind of questions it will supercharged us.
At last, genuinely, playbook is awesome.
Thanks
Dheeraj, verified owner
Get it free
Enter your name and email and the PDF comes to your inbox.