Playwright Testing Interview Questions for Consulting Companies
40 questions weighted to the interview style of consulting companies — 5 easy, 32 medium, 3 hard.
How consulting companies interview for Playwright Testing
Consulting firms look for people who can structure messy business problems and explain them simply to clients. Expect case and guesstimate questions, data interpretation, and questions on how you handled stakeholders, along with the technical skills for the role.
This set focuses on Locators and Assertions (5), JavaScript and TypeScript (5), Visual & Accessibility Testing (5), Parallel Runs, Sharding & Reporting (4).
How do you locate elements inside a specific row or card?
Show answer
How do you test offline behaviour?
Show answer
How do you validate JSON schema?
Show answer
How do you decide how many shards a suite should use?
Show answer
What are web-first assertions?
Show answer
What happens if you forget an await?
Show answer
Write a visual assertion that masks a live clock and an ad banner.
Show answer
How do you test a page in dark mode or with reduced motion?
Show answer
Write a test that checks keyboard Tab order through a login form.
Show answer
What are fixtures in Playwright?
Show answer
Tell me about a time you reduced pipeline time with parallel runs or sharding.
Show answer
A multi-select filter test passes even when an extra option stays selected. How do you tighten it?
Show answer
The app polls a status endpoint every few seconds. How do you test the change from Pending to Done?
Show answer
A locator matches three Delete buttons and the test fails with a strict mode violation. How do you fix it?
Show answer
The app logs in through a third-party OAuth pop-up. How do you automate it?
Show answer
A test uses forEach with an async callback and the checks inside never seem to run. Why?
Show answer
How do you reuse login state across tests?
Show answer
How do you capture browser console messages and page errors?
Show answer
Tell me about setting up CI for a test suite.
Show answer
How do you exclude a third-party widget or switch off one rule in an axe scan?
Show answer
How do you test file downloads and verify their content?
Show answer
Show a config with a setup project and a browser project that reuses its login.
Show answer
What are interfaces and types in TypeScript?
Show answer
What are union types and type narrowing in TypeScript?
Show answer
A setup fixture creates expensive test data and suite time has doubled. How do you redesign it?
Show answer
What do beforeAll and afterAll do?
Show answer
How is a Playwright component test different from a Jest unit test with jsdom?
Show answer
Describe a time you argued against mocking every API in the suite.
Show answer
What do maxDiffPixels, maxDiffPixelRatio and threshold control in a screenshot comparison?
Show answer
How do test.slow() and longer timeouts help or hurt debugging?
Show answer
Component and end-to-end tests run together and slow down every commit. How do you separate them?
Show answer
Parallel tests create users with the same email and fail with 'already exists'. How do you fix it?
Show answer
What is a Promise and what states can it have?
Show answer
What is a locator in Playwright?
Show answer
Tell me about a bug you found through API testing that UI tests missed.
Show answer
What does a Playwright trace contain?
Show answer
How do you handle authentication to avoid logging in every test?
Show answer
What do toHaveAccessibleName and toHaveAccessibleDescription check?
Show answer
How do you write data-driven API tests with many inputs?
Show answer
Consulting companies (13)
Accenture
Playwright Testing interview questions
Bengaluru, Hyderabad, Pune +2
View questionsDeloitte
Playwright Testing interview questions
Hyderabad, Bengaluru, Mumbai +2
View questionsEY
Playwright Testing interview questions
Bengaluru, Kolkata, Gurugram +2
View questionsKPMG
Playwright Testing interview questions
Gurugram, Bengaluru, Mumbai +2
View questionsPwC
Playwright Testing interview questions
Kolkata, Bengaluru, Mumbai +2
View questionsPublicis Sapient
Playwright Testing interview questions
Gurugram, Noida, Bengaluru
View questionsThoughtworks
Playwright Testing interview questions
Pune, Bengaluru, Chennai +2
View questionsZS Associates
Playwright Testing interview questions
Pune, Gurugram, Bengaluru
View questionsMcKinsey & Company
Playwright Testing interview questions
Gurugram, Mumbai, Bengaluru +1
View questionsBoston Consulting Group
Playwright Testing interview questions
Mumbai, New Delhi, Bengaluru +1
View questionsBain & Company
Playwright Testing interview questions
Gurugram, Mumbai, Bengaluru
View questionsGrant Thornton Bharat
Playwright Testing interview questions
Gurugram, Mumbai, Bengaluru +3
View questionsProtiviti
Playwright Testing interview questions
Gurugram, Mumbai, Bengaluru +1
View questionsFrequently asked questions
How are Playwright Testing interviews at consulting companies different?
Consulting firms look for people who can structure messy business problems and explain them simply to clients. Expect case and guesstimate questions, data interpretation, and questions on how you handled stakeholders, along with the technical skills for the role.
Which consulting companies are covered?
This page links to 13 consulting companies, including Accenture, Deloitte, EY, KPMG, PwC, Publicis Sapient, Thoughtworks, ZS Associates. Each has its own page with rounds and a separate practice set.
What rounds should I expect?
Common rounds at these companies include: Technical interview; Partner or HR round; Managerial round; Online assessment (aptitude + technical); HR round. The exact process varies by company and role.