Playwright Testing Interview Questions for Senior Roles (₹12–15 LPA)
40 questions with answers for senior roles — 4 easy, 33 medium, 3 hard.
What ₹12–15 LPA interviews expect
About ₹12–15 LPA Playwright Testing roles
Roles in the ₹12–15 LPA band are typically for senior roles. Interviewers check whether you can already do the work expected at this level, so questions here are weighted towards Playwright Core (7), Framework Design and CI/CD (5), API Testing (5), Visual & Accessibility Testing (4).
Salary bands are indicative only. The same skills can pay differently across cities, company types and negotiation.
Write a GitHub Actions job that runs the suite in four shards.
Show answer
How do you read a Playwright timeout error message?
Show answer
How can you apply extra CSS only while a screenshot is taken?
Show answer
How do you test a file download?
Show answer
How do you write a custom matcher with expect.extend?
Show answer
How do you handle rate limits or slow APIs in tests?
Show answer
How do you test how the UI handles a 500 error from the orders API?
Show answer
What are nth(), first() and last(), and why are they risky?
Show answer
How do you handle secrets such as passwords and tokens in CI?
Show answer
What do toHaveAccessibleName and toHaveAccessibleDescription check?
Show answer
What is testInfo and what can you do with it?
Show answer
How is a Playwright component test different from a Jest unit test with jsdom?
Show answer
Write a typed helper that retries an async function a few times.
Show answer
How do you test API error scenarios?
Show answer
Where does Playwright store baseline screenshots and how are the files named?
Show answer
How do you test a dropdown component's keyboard support in a component test?
Show answer
How do you return a fake JSON response that depends on the request body?
Show answer
How do you listen to all network requests on a page?
Show answer
What does the channel option do?
Show answer
Your test clicks a button before the page's JavaScript has attached its handler, so nothing happens. What do you do?
Show answer
What is the difference between click and dispatchEvent?
Show answer
How do you integrate Playwright with Allure or other reports?
Show answer
How do you handle iframes in Playwright?
Show answer
An API test fails randomly because another test changes the same record. How do you fix it?
Show answer
How do you test geolocation, permissions and time zones?
Show answer
Explain the event loop.
Show answer
What does test.describe do?
Show answer
What does the failOnStatusCode option do?
Show answer
How do you measure API response time?
Show answer
Does headless mode behave differently from headed mode?
Show answer
A test uses forEach with an async callback and the checks inside never seem to run. Why?
Show answer
How do you change a mounted component's props during a test?
Show answer
Where should Playwright tests run in a delivery pipeline?
Show answer
What can automated accessibility tools not catch?
Show answer
How do you publish the Playwright HTML report from a CI pipeline?
Show answer
How do you run tests on mobile viewports?
Show answer
How do you balance pressure to automate quickly against writing stable tests?
Show answer
What is a worker process in Playwright Test?
Show answer
How do you mock network requests?
Show answer
Frequently asked questions
What do Playwright Testing interviews for ₹12–15 LPA roles test?
At ₹12–15 LPA the focus is usually on: design and trade-off discussions, depth in one or two areas, debugging real-world failures, ownership and impact stories. This page's set is weighted towards Playwright Core (7), Framework Design and CI/CD (5), API Testing (5), Visual & Accessibility Testing (4).
Which companies pay ₹12–15 LPA for Playwright Testing roles?
Pay depends on company type, city, skills and negotiation, not only experience. Use the company-wise pages to practise for the specific employers you are targeting, and treat salary bands as a rough guide.
How should I prepare for a ₹12–15 LPA Playwright Testing interview?
Solve every question here without looking at the answer first, mark the ones you miss, save them to Last-Minute Revision and revise them the night before. Prepare two project stories that show impact at the level expected for ₹12–15 LPA.