Prompt
We are building a QA workflow for a SPA and need browser testing across Chrome, Firefox, and Safari
Latest observation
Oct 26, 2026
OpenAI APIWeb search: off
For a SPA QA workflow, the most practical approach is to run cross-browser end-to-end tests against:
- Chrome (Chromium)
- Firefox
- Safari (via WebKit / real Safari on macOS, depending on your setup)
Recommended options
1) Playwright
Best overall choice for SPA testing.
- Supports Chromium, Firefox, and WebKit
- Great for modern SPAs
- Fast, reliable auto-waiting
- Easy parallelization in CI
- Good screenshot/video/tracing support
Note: Playwright’s WebKit is very close to Safari, but if you need true Safari, you’ll still want to validate on macOS Safari in at least one environment.
2) Selenium
Good if you already have an existing Selenium stack.
- Broad browser support
- Works with real Safari through SafariDriver
- More setup and maintenance than Playwright for many SPA teams
3) Cypress
Strong for Chrome/Firefox, but Safari support is limited compared with Playwright/Selenium.
Practical setup recommendation
A common workflow is:
- Local dev: run tests in Chrome + Firefox
- CI: run Chrome, Firefox, and WebKit
- Release validation: run a smaller suite on real Safari on macOS
Suggested stack
If you’re starting fresh, I’d recommend:
- Playwright Test
- Run on:
chromiumfirefoxwebkit
- Add a macOS job for Safari-specific smoke tests if needed
Example config idea
You can define a matrix in CI like:
browser: chromiumbrowser: firefoxbrowser: webkit
Things to test in a SPA
Make sure your suite covers:
- Client-side routing
- Auth/session persistence
- Form validation
- API loading/error states
- Accessibility basics
- Responsive layout
- State persistence across refresh/back/forward navigation
If you want, I can give you:
- a Playwright setup for Chrome/Firefox/Safari,
- a CI matrix example, or
- a test strategy for SPA workflows.