Preparing for a Playwright / SDET / QA Automation interview?
๐ฅ๐ผ๐๐ป๐ฑ ๐ญ โ ๐ฃ๐น๐ฎ๐๐๐ฟ๐ถ๐ด๐ต๐ ๐๐ฎ๐๐ถ๐ฐ๐
1- How do you capture network requests and responses in Playwright?
2- How can you mock API responses using Playwright?
3- How do you take screenshots and videos in Playwright?
4- How do you handle authentication in Playwright โ Basic Auth, Token-based Auth, and OAuth?
5- How do you configure retries and test retries in Playwright?
๐ฅ๐ผ๐๐ป๐ฑ ๐ฎ โ ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐ฃ๐น๐ฎ๐๐๐ฟ๐ถ๐ด๐ต๐
1- What strategies do you use to debug flaky Playwright tests?
2- How do you optimize execution speed in Playwright?
3- How do you handle dynamic elements in Playwright?
4- What is the difference between locators and page methods?
5- How do you use Trace Viewer in Playwright for debugging?
6- Share a scenario where Playwright is a better choice than Selenium.
7- How do you implement Page Object Model (POM) in Playwright?
8- How do you manage test data in Playwright?
9- What are Playwright’s parallel execution capabilities?
10- What is the difference between Page, Browser, and BrowserContext in Playwright?
11- How do you launch a browser in headless and headed modes?
12- What are Playwright fixtures, and how are they useful?
13- How do you handle dropdowns, frames, and alerts in Playwright?
14- How does Playwright handle waits differently compared to Selenium?
๐ฅ๐ผ๐๐ป๐ฑ ๐ฏ โ ๐๐ผ๐ฑ๐ถ๐ป๐ด + ๐ ๐ฎ๐ป๐ฎ๐ด๐ฒ๐ฟ๐ถ๐ฎ๐น
1- Count and print the number of consonants in your name.
2- Find unique and duplicate characters in your name without using Collections in Java.
3- Find the longest substring.
4- How would you distribute tasks among team members when the deadline is approaching?
CGI: Playwright Interview Questions
By: Rohit BARAHATE
On: August 18, 2026
---Advertisement---
