Selenium vs Playwright 2026

Published July 22, 2026 · Updated July 22, 2026

Selenium vs Playwright for interview preparation. Which framework do TCS, Wipro, Accenture, and Capgemini ask about? Real data from 27 interview questions.

Selenium: 18 questions
Playwright: 11 questions

Side-by-side comparison

Aspect Selenium Playwright
Industry adoption in India Very high — majority of legacy projects Rapidly growing — new projects in 2024–26
Interview frequency High at Wipro, TCS, Infosys (older stacks) High at Accenture, Capgemini, new startups
Architecture WebDriver protocol — external browser driver CDP/browser-native — built-in browser control
Auto-wait Manual — requires explicit waits Built-in — actionability checks before every action
Cross-browser Chrome, Firefox, Safari, Edge, IE Chromium, Firefox, WebKit (no IE)
Speed Slower — network round trips to WebDriver Faster — in-process browser control
Language support Java, Python, C#, Ruby, JavaScript TypeScript/JS, Python, Java, C#

Interview questions for Selenium (18 total)

Companies asking: Accenture, Wipro, Capgemini

Wipro Hard Technical round SeleniumJava

What is Fluent Wait in Selenium and when is it used? Compare it with WebDriverWait, explain how to configure polling interval and ignored exceptions, and give a scenario where Fluent Wait is the only viable option.

↑ 88 upvotes · 35 engineers asked this · Tester
Wipro Hard Technical round SeleniumJavaJest

What is Parallel Testing and why is it useful in automation? Explain how to configure parallel execution in TestNG using the suite XML, the thread-safety concerns with WebDriver instances, and how to manage them with ThreadLocal.

↑ 79 upvotes · 29 engineers asked this · Tester
Accenture Medium Technical round SeleniumJava

What are the different wait mechanisms in Selenium (Implicit, Explicit, Fluent Wait), and when should each be used? Explain the downsides of Thread.sleep() and how WebDriverWait improves reliability.

↑ 78 upvotes · 31 engineers asked this · Developer
Wipro Hard Technical round SeleniumJava

Explain the difference between a Scenario and a Scenario Outline in Cucumber BDD. When would you use a Scenario Outline, and how do you supply multiple data rows using the Examples table? Show a real-world login test example.

↑ 72 upvotes · 28 engineers asked this · Tester

See all 18 Selenium questions →

Interview questions for Playwright (11 total)

Companies asking: Accenture, Capgemini

Capgemini Medium Technical round PlaywrightTypeScriptJavaScript

Write Playwright code to handle multiple windows (browser contexts/tabs) and perform actions on a new page. Explain the difference between new page events and popup events, and how to wait for a page load before interacting.

↑ 68 upvotes · 24 engineers asked this · Tester
Accenture Medium Technical round SeleniumPlaywrightJavaScript

What differences do you see between Selenium and Playwright in automation testing? Cover architecture, browser support, speed, built-in waiting mechanisms, and cross-language support.

↑ 61 upvotes · 22 engineers asked this · Developer
Capgemini Medium Technical round PlaywrightRESTTypeScript

Explain the difference between PUT and PATCH in REST APIs. When is each appropriate? Show how you would test both verbs using Playwright's APIRequestContext, and explain how to validate partial vs full resource updates.

↑ 59 upvotes · 22 engineers asked this · Tester
Capgemini Medium Technical round PlaywrightTypeScript

Explain the different types of locators available in Playwright (CSS, XPath, text, role, test-id). Which are most resilient and why? Explain why role-based locators are preferred over XPath for accessibility and test stability.

↑ 55 upvotes · 19 engineers asked this · Tester

See all 11 Playwright questions →

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

Related comparisons

Java vs Python for Tech Interviews 2026

Frequently asked questions

Should I learn Selenium or Playwright for interviews?
Selenium has 18 questions from Accenture, Wipro, Capgemini. Playwright has 11 questions from Accenture, Capgemini. The best choice depends on your target company.