Skip to main content

Explain how you'd set up cross-browser testing. What are the common pitfalls?

  • cross-browser
  • browser matrix
  • compatibility

Answer it first, then compare. Nothing here is saved or scored.

Model answer

Run core tests across Chromium, Firefox, and WebKit (Playwright handles all three natively). Use a matrix strategy in CI, parallel jobs per browser. Pitfalls: CSS rendering differences (especially flexbox/grid edge cases), Web API availability (e.g., some APIs lag in Safari/WebKit), and different JavaScript engine behaviors. Don't run every test cross-browser - focus on critical paths and UI-heavy flows. Use cloud grids (BrowserStack, LambdaTest) for real device coverage.

What interviewers listen for

  • Test architecture instincts
    You can defend why your suite is shaped like a pyramid, a trophy, or a honeycomb.
  • Locator discipline
    You rank selector strategies by stability and explain when to break the rule.
  • Flaky test ownership
    You debug to a structural fix instead of retry-until-green.
  • Parallelisation literacy
    You know how your framework isolates state, fixtures, and database access across workers.

See all 35 automation questions

Written by , Senior QA Automation Engineer, 50+ QA candidate interviews conductedLast updated July 2026