browser-matrix-strategy-reference
Overview
A real browser matrix tiers browsers by traffic share, regulatory requirement, and team budget, then runs each tier at its own cadence - not "test on everything".
This skill is a pure reference consumed by the sibling execution
skills: cloud-grid-e2e (BrowserStack / Sauce Labs / LambdaTest),
the self-hosted selenium-grid-4-runner, and playwright-testing
browser projects (bundled engines; references/browser-matrix.md).
Capping the matrix and publishing the support statement is covered in
references/compatibility-budget.md.
When to use
- New project - defining the initial browser matrix.
- Quarterly review - re-tier browsers as traffic shifts (e.g.,
IE11 traffic drops to <0.1%, demote from T2 to T3).
- Audit / compliance - defending why specific browsers were tested
(or weren't).
- Cost optimisation - moving low-tier browsers from cloud grid
(paid) to bundled engines (free).
How to use
- Pull browser / OS / version traffic share from your own analytics; supplement
with StatCounter for geographies your own data is thin on.
- Apply the tier-membership heuristic (defined once below) to place each combo in
T1, T2, T3, or out of scope.
- Group Chromium-engine browsers (Brave, Vivaldi, Opera) under the dominant
browser instead of counting them as separate combos.
- Map each tier to infrastructure via the cost-tier mapping: bundled engines for
T1, cloud grid for T2 / T3, self-hosted Selenium Grid 4 for internal apps.
- Record the matrix using references/matrix-template.md,
giving every row an owner, a review date, and a "Why".
- Log every tier change in the tier-change log so audit and "why is X here?"
questions have a written answer.
- Re-run quarterly: re-tier as traffic shifts, retire below-threshold combos,
and defend legacy drops (IE11, old iOS Safari) against your own analytics.
- Verify before dropping a combo: assert traffic <0.1% across two independent
sources (own analytics + StatCounter) AND that no statutory or SLA requirement
applies; if either check fails, keep the combo in T3 and re-review next quarter.
The three-tier model
Cadence per tier; exact traffic thresholds are defined once in the
Tier-membership heuristic section below.
| Tier |
Cadence |
Coverage criterion |
Example |
| T1 - Must pass every PR |
Per-PR + main |
Highest-traffic, must-not-break combos |
Chrome current + Chrome-1 |
| T2 - Pre-release / nightly |
Nightly + pre-release |
Mid-traffic OR statutory (regulated industries) |
Firefox / Safari / Edge current |
| T3 - Quarterly / on-demand |
Quarterly |
Long-tail with customer demand |
Safari iOS 16 / IE11 / niche Android |
Data sources for traffic share
| Source |
Use for |
| Your product's own analytics (GA / Plausible / etc.) |
Definitive ground truth for your users |
| StatCounter (gs.statcounter.com) |
Global / regional baseline when own data thin |
| MDN browser-compat-data (github.com/mdn/browser-compat-data) |
Per-feature compatibility map - which versions support a given Web API |
| caniuse.com |
Same purpose as MDN, easier UI |
| web-platform.org browser support (webstatus.dev) |
Web Platform features cross-browser readiness |
| GitHub Actions browser-default versions (github.com/actions/runner-images) |
What CI runners ship with by default |
Use your own analytics for traffic-share decisions; supplement
with StatCounter when slicing geographies you don't have own data
for.
Worked example
A hypothetical SaaS B2B web app builds its first matrix from its own analytics:
- Pull traffic share. Own analytics shows Chrome 68%, Firefox 12%, Safari
8%, Edge 5%, mobile Safari 9% of mobile traffic, mobile Chrome 5% of mobile,
Safari iOS 16 2% of mobile and declining.
- Apply the heuristic. Chrome 68% and Firefox 12% clear the T1 traffic bar, so
both go to T1 (Chrome adds an N-1 row for Group-Policy lag-behind users).
Safari 8%, Edge 5%, mobile Safari, and mobile Chrome fall in the T2 band or
count as significant mobile platforms, so they go to T2. Safari iOS 16 at 2%
and declining goes to T3.
- Rule browsers out. A customer survey returns 0 IE11 users with no
statutory requirement, so IE11 is out of scope; Brave and Vivaldi are
Chromium-based and already covered by Chrome T1.
- Map to infrastructure. T1 runs on bundled Playwright engines on CI (free,
fast); T2 and T3 run on a cloud grid (real devices, nightly and quarterly).
- Log the change. Edge grew 3 -> 5% since last quarter, so it is promoted
from T3 to T2 and the promotion is recorded in the tier-change log.
Result: a 3-combo T1, 5-combo T2, 4-combo T3 matrix with a documented reason per
row. The filled-in artifact is
references/matrix-template.md.
Tier-membership heuristic
The single authoritative traffic thresholds, referenced by the three-tier model
and worked example above. A browser belongs in:
T1 if any of:
- Currently ≥5% of own traffic, AND
- "Most users" (statistically reasoned, not gut)
- Browser the team uses internally (dogfooding)
T2 if any of:
- 1-5% of own traffic
- Required by stakeholder commitment / SLA
- Required by regulation (e.g., accessibility on Safari iOS for
AppStore review)
- Mobile platform with significant traffic
T3 if any of:
- <1% traffic but customer-requested
- Long-tail enterprise (ESR / extended-support tracks)
- Coverage-completeness for audit defensibility
Out of scope if all of:
- <0.1% traffic
- No customer commitment
- No regulatory requirement
- Already covered by an engine-compatible browser (e.g., Brave
covered by Chrome)
Cost-tier mapping
Where to test each tier:
| Tier |
Recommended infrastructure |
Reason |
| T1 |
Bundled engines (Playwright + Chromium / Firefox / WebKit) on CI runner |
Free; fast; sufficient for engine-level coverage |
| T2 |
Cloud grid (BrowserStack / Sauce / LambdaTest) |
Real devices + real OS; manageable cost at nightly cadence |
| T3 |
Cloud grid on-demand |
Real device + low-frequency; budget-friendly |
| Internal apps |
Self-hosted Selenium Grid 4 + tunnels |
Data residency or cost-control |
For very high-volume + cost-sensitive teams, self-hosted Selenium
Grid 4 for T1 + cloud grid for T2 / T3 is the optimum mix.
Engine vs runner distinction
A T1 entry "Chrome latest" can mean:
- Bundled Chromium engine in Playwright - fast, free, but
engineered for testing (not 1:1 with stable Chrome)
- Real Chrome stable channel via cloud grid - slower, paid,
but exactly what users have
For T1 the bundled-engine path is usually sufficient; for T2 / T3,
real-browser via cloud grid is the choice when the difference
matters (some bugs are real-Chrome-only).
Capping the matrix: the compatibility budget
The tiering above decides WHICH combos to test; the budget decides
HOW MANY the team can afford to commit to, and publishes that
commitment. references/compatibility-budget.md
carries the four-tier commitment model (per-PR / nightly /
pre-release / unsupported), the CI cost formula, example budgets per
product type, the external "what we support" statement template, and
the telemetry-to-tier mapping.
Matrix review checklist
When auditing a committed matrix (quarterly review, or before
relying on it for a release), check four failure modes:
| # |
Check |
Severity |
Rule |
| 1 |
Staleness |
BLOCK |
The matrix must carry a Reviewed: date under 90 days old and a Next review: date, per the quarterly-review convention. Absent or older = STALE. |
| 2 |
T1 oversize |
WARN |
T1 runs on every PR and dominates CI cost (budget reference §3). More than 6 T1 combos with no written cost rationale = review trigger. |
| 3 |
Below-threshold T1 entries |
BLOCK |
T1 requires >=5% own traffic (heuristic above). Any T1 entry below 1% in both own analytics and StatCounter, with no contractual obligation, belongs in T3 or unsupported. Same-engine duplicates (Brave beside Chrome) count as one. |
| 4 |
Missing real-device coverage |
WARN |
If the audience includes mobile and iOS Safari / Chrome on Android sits in T1/T2, a bundled-engine-only CI config is insufficient - bundled WebKit is not Safari; those rows need a cloud-grid or real-device leg. |
Refuse to treat a matrix as PASS while any BLOCK finding stands, and
flag own-analytics data older than 90 days as stale telemetry.
Anti-patterns
| Anti-pattern |
Why it fails |
Fix |
| "Test on all browsers" without tiering |
Wastes resources; nothing actually gates the release |
Tier explicitly |
| Tier membership never reviewed |
Drift: T3 browsers stay in T3 long after traffic dies |
Quarterly review |
| Same tests across all tiers |
Some tests are environment-specific; running all everywhere is wasteful |
Smoke at T1 / T2 / T3; full regression at T1 only |
| Counting Chromium-engine browsers separately (Chrome, Brave, Vivaldi, Opera) |
Same engine; one test covers them |
Group by engine; test the dominant browser only |
| IE11 in 2026 |
Trivial traffic in nearly all contexts |
Audit own analytics before committing |
| Mobile and desktop in same tier |
Different breakage surfaces |
Treat mobile as its own dimension |
| No tier-change log |
"Why is Safari 14 in T2?" - nobody remembers |
Always log tier changes |
Limitations
- Own-analytics blindness. Bot traffic + anonymised users can
skew traffic counts; sanity-check via two sources.
- Cross-region traffic differs. Global average + your specific
market may diverge; segment.
- Bundled engines aren't real browsers. Playwright's
Chromium / WebKit have engineering-for-testing edits; for some
bugs only real-browser cloud grids catch.
- Real-device matrices shift. Cloud grids retire devices /
add new ones; quarterly check.
References
1---2name: browser-matrix-strategy-reference3description: "Use when deciding which browsers, OS versions and devices to test: a three-tier matrix built from traffic data, quarterly re-tier reviews, a published support policy and test budget, or the case for dropping an old browser. The Playwright, Selenium Grid and cloud-grid skills run it."4metadata:5 source: https://skillmd.com/skills/testland/browser-matrix-strategy-reference6---78# browser-matrix-strategy-reference910## Overview1112A real browser matrix tiers browsers by traffic share, regulatory requirement, and team budget, then runs each tier at its own cadence - not "test on everything".1314This skill is a **pure reference** consumed by the sibling execution15skills: `cloud-grid-e2e` (BrowserStack / Sauce Labs / LambdaTest),16the self-hosted `selenium-grid-4-runner`, and `playwright-testing`17browser projects (bundled engines; references/browser-matrix.md).18Capping the matrix and publishing the support statement is covered in19[references/compatibility-budget.md](references/compatibility-budget.md).2021## When to use2223- New project - defining the initial browser matrix.24- Quarterly review - re-tier browsers as traffic shifts (e.g.,25 IE11 traffic drops to <0.1%, demote from T2 to T3).26- Audit / compliance - defending why specific browsers were tested27 (or weren't).28- Cost optimisation - moving low-tier browsers from cloud grid29 (paid) to bundled engines (free).3031## How to use32331. Pull browser / OS / version traffic share from your own analytics; supplement34 with StatCounter for geographies your own data is thin on.352. Apply the tier-membership heuristic (defined once below) to place each combo in36 T1, T2, T3, or out of scope.373. Group Chromium-engine browsers (Brave, Vivaldi, Opera) under the dominant38 browser instead of counting them as separate combos.394. Map each tier to infrastructure via the cost-tier mapping: bundled engines for40 T1, cloud grid for T2 / T3, self-hosted Selenium Grid 4 for internal apps.415. Record the matrix using [references/matrix-template.md](references/matrix-template.md),42 giving every row an owner, a review date, and a "Why".436. Log every tier change in the tier-change log so audit and "why is X here?"44 questions have a written answer.457. Re-run quarterly: re-tier as traffic shifts, retire below-threshold combos,46 and defend legacy drops (IE11, old iOS Safari) against your own analytics.478. **Verify before dropping a combo:** assert traffic <0.1% across two independent48 sources (own analytics + StatCounter) AND that no statutory or SLA requirement49 applies; if either check fails, keep the combo in T3 and re-review next quarter.5051## The three-tier model5253Cadence per tier; exact traffic thresholds are defined once in the54Tier-membership heuristic section below.5556| Tier | Cadence | Coverage criterion | Example |57|---|---|---|---|58| **T1 - Must pass every PR** | Per-PR + main | Highest-traffic, must-not-break combos | Chrome current + Chrome-1 |59| **T2 - Pre-release / nightly** | Nightly + pre-release | Mid-traffic OR statutory (regulated industries) | Firefox / Safari / Edge current |60| **T3 - Quarterly / on-demand** | Quarterly | Long-tail with customer demand | Safari iOS 16 / IE11 / niche Android |6162## Data sources for traffic share6364| Source | Use for |65|---|---|66| **Your product's own analytics** (GA / Plausible / etc.) | Definitive ground truth for *your* users |67| **StatCounter** ([gs.statcounter.com](https://gs.statcounter.com/)) | Global / regional baseline when own data thin |68| **MDN browser-compat-data** ([github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data)) | Per-feature compatibility map - which versions support a given Web API |69| **caniuse.com** | Same purpose as MDN, easier UI |70| **web-platform.org browser support** ([webstatus.dev](https://webstatus.dev/)) | Web Platform features cross-browser readiness |71| **GitHub Actions browser-default versions** ([github.com/actions/runner-images](https://github.com/actions/runner-images)) | What CI runners ship with by default |7273Use your own analytics for traffic-share decisions; supplement74with StatCounter when slicing geographies you don't have own data75for.7677## Worked example7879A hypothetical SaaS B2B web app builds its first matrix from its own analytics:80811. **Pull traffic share.** Own analytics shows Chrome 68%, Firefox 12%, Safari82 8%, Edge 5%, mobile Safari 9% of mobile traffic, mobile Chrome 5% of mobile,83 Safari iOS 16 2% of mobile and declining.842. **Apply the heuristic.** Chrome 68% and Firefox 12% clear the T1 traffic bar, so85 both go to T1 (Chrome adds an N-1 row for Group-Policy lag-behind users).86 Safari 8%, Edge 5%, mobile Safari, and mobile Chrome fall in the T2 band or87 count as significant mobile platforms, so they go to T2. Safari iOS 16 at 2%88 and declining goes to T3.893. **Rule browsers out.** A customer survey returns 0 IE11 users with no90 statutory requirement, so IE11 is out of scope; Brave and Vivaldi are91 Chromium-based and already covered by Chrome T1.924. **Map to infrastructure.** T1 runs on bundled Playwright engines on CI (free,93 fast); T2 and T3 run on a cloud grid (real devices, nightly and quarterly).945. **Log the change.** Edge grew 3 -> 5% since last quarter, so it is promoted95 from T3 to T2 and the promotion is recorded in the tier-change log.9697Result: a 3-combo T1, 5-combo T2, 4-combo T3 matrix with a documented reason per98row. The filled-in artifact is99[references/matrix-template.md](references/matrix-template.md).100101## Tier-membership heuristic102103The single authoritative traffic thresholds, referenced by the three-tier model104and worked example above. A browser belongs in:105106- **T1** if any of:107 - Currently ≥5% of own traffic, AND108 - "Most users" (statistically reasoned, not gut)109 - Browser the team uses internally (dogfooding)110111- **T2** if any of:112 - 1-5% of own traffic113 - Required by stakeholder commitment / SLA114 - Required by regulation (e.g., accessibility on Safari iOS for115 AppStore review)116 - Mobile platform with significant traffic117118- **T3** if any of:119 - <1% traffic but customer-requested120 - Long-tail enterprise (ESR / extended-support tracks)121 - Coverage-completeness for audit defensibility122123- **Out of scope** if all of:124 - <0.1% traffic125 - No customer commitment126 - No regulatory requirement127 - Already covered by an engine-compatible browser (e.g., Brave128 covered by Chrome)129130## Cost-tier mapping131132Where to test each tier:133134| Tier | Recommended infrastructure | Reason |135|---|---|---|136| T1 | Bundled engines (Playwright + Chromium / Firefox / WebKit) on CI runner | Free; fast; sufficient for engine-level coverage |137| T2 | Cloud grid (BrowserStack / Sauce / LambdaTest) | Real devices + real OS; manageable cost at nightly cadence |138| T3 | Cloud grid on-demand | Real device + low-frequency; budget-friendly |139| Internal apps | Self-hosted Selenium Grid 4 + tunnels | Data residency or cost-control |140141For very high-volume + cost-sensitive teams, self-hosted Selenium142Grid 4 for T1 + cloud grid for T2 / T3 is the optimum mix.143144## Engine vs runner distinction145146A T1 entry "Chrome latest" can mean:147148- **Bundled Chromium engine in Playwright** - fast, free, but149 engineered for testing (not 1:1 with stable Chrome)150- **Real Chrome stable channel via cloud grid** - slower, paid,151 but exactly what users have152153For T1 the bundled-engine path is usually sufficient; for T2 / T3,154real-browser via cloud grid is the choice when the difference155matters (some bugs are real-Chrome-only).156157## Capping the matrix: the compatibility budget158159The tiering above decides WHICH combos to test; the budget decides160HOW MANY the team can afford to commit to, and publishes that161commitment. [references/compatibility-budget.md](references/compatibility-budget.md)162carries the four-tier commitment model (per-PR / nightly /163pre-release / unsupported), the CI cost formula, example budgets per164product type, the external "what we support" statement template, and165the telemetry-to-tier mapping.166167## Matrix review checklist168169When auditing a committed matrix (quarterly review, or before170relying on it for a release), check four failure modes:171172| # | Check | Severity | Rule |173|---|---|---|---|174| 1 | **Staleness** | BLOCK | The matrix must carry a `Reviewed:` date under 90 days old and a `Next review:` date, per the quarterly-review convention. Absent or older = STALE. |175| 2 | **T1 oversize** | WARN | T1 runs on every PR and dominates CI cost (budget reference §3). More than 6 T1 combos with no written cost rationale = review trigger. |176| 3 | **Below-threshold T1 entries** | BLOCK | T1 requires >=5% own traffic (heuristic above). Any T1 entry below 1% in both own analytics and StatCounter, with no contractual obligation, belongs in T3 or unsupported. Same-engine duplicates (Brave beside Chrome) count as one. |177| 4 | **Missing real-device coverage** | WARN | If the audience includes mobile and iOS Safari / Chrome on Android sits in T1/T2, a bundled-engine-only CI config is insufficient - bundled WebKit is not Safari; those rows need a cloud-grid or real-device leg. |178179Refuse to treat a matrix as PASS while any BLOCK finding stands, and180flag own-analytics data older than 90 days as stale telemetry.181182## Anti-patterns183184| Anti-pattern | Why it fails | Fix |185|---|---|---|186| "Test on all browsers" without tiering | Wastes resources; nothing actually gates the release | Tier explicitly |187| Tier membership never reviewed | Drift: T3 browsers stay in T3 long after traffic dies | Quarterly review |188| Same tests across all tiers | Some tests are environment-specific; running all everywhere is wasteful | Smoke at T1 / T2 / T3; full regression at T1 only |189| Counting Chromium-engine browsers separately (Chrome, Brave, Vivaldi, Opera) | Same engine; one test covers them | Group by engine; test the dominant browser only |190| IE11 in 2026 | Trivial traffic in nearly all contexts | Audit own analytics before committing |191| Mobile and desktop in same tier | Different breakage surfaces | Treat mobile as its own dimension |192| No tier-change log | "Why is Safari 14 in T2?" - nobody remembers | Always log tier changes |193194## Limitations195196- **Own-analytics blindness.** Bot traffic + anonymised users can197 skew traffic counts; sanity-check via two sources.198- **Cross-region traffic differs.** Global average + your specific199 market may diverge; segment.200- **Bundled engines aren't real browsers.** Playwright's201 Chromium / WebKit have engineering-for-testing edits; for some202 bugs only real-browser cloud grids catch.203- **Real-device matrices shift.** Cloud grids retire devices /204 add new ones; quarterly check.205206## References207208- StatCounter GlobalStats - 209 [gs.statcounter.com](https://gs.statcounter.com/).210- MDN browser-compat-data - 211 [github.com/mdn/browser-compat-data](https://github.com/mdn/browser-compat-data).212- caniuse.com - [caniuse.com](https://caniuse.com/).213- web-platform-tests / web-platform.org - 214 [web-platform-tests.org](https://web-platform-tests.org/).215- Web feature status - [webstatus.dev](https://webstatus.dev/).216- GitHub Actions runner-images - 217 [github.com/actions/runner-images](https://github.com/actions/runner-images).218- W3C WebDriver specification - 219 [w3.org/TR/webdriver2/](https://www.w3.org/TR/webdriver2/).220- Budget + support-statement reference -221 [references/compatibility-budget.md](references/compatibility-budget.md)222 and [references/compatibility-budget-tiers.md](references/compatibility-budget-tiers.md).223- Sibling execution skills:224 `playwright-testing` (bundled engines; references/browser-matrix.md),225 `selenium-grid-4-runner`,226 `cloud-grid-e2e` (BrowserStack / Sauce Labs / LambdaTest).