{"id":"11d63f39-c083-48f0-bc74-d1dd55d22163","task":"Configure Playwright to run the same tests across multiple browser projects (Chromium, Firefox, WebKit)","domain":"playwright.dev","steps":["In playwright.config.ts, define a projects array with one entry per browser: { name: 'chromium', use: { ...devices['Desktop Chrome'] } }, { name: 'firefox', use: { ...devices['Desktop Firefox'] } }, { name: 'webkit', use: { ...devices['Desktop Safari'] } }","Run npx playwright install to download all three browser binaries; omit specific browsers with --browser=chromium if bandwidth is a concern in CI","Use project.grep or test.skip(({ browserName }) => browserName === 'webkit', 'reason') inside tests to exclude browser-specific tests from projects where they are not applicable","For tests with shared dependencies (e.g., a login setup project), use the dependencies field in a project config to declare which setup project must complete before this project's tests run","View per-browser results in the HTML report with npx playwright show-report; filter by project name to compare pass/fail across browsers"],"gotchas":["WebKit on Linux requires additional system libraries that are not always pre-installed in CI images; run npx playwright install-deps webkit to install them, or use the official Playwright Docker image which bundles all dependencies","Browser behavior differs in subtle ways (font rendering, CSS support, timing) — a test passing in Chromium may fail in WebKit for legitimate reasons; avoid using screenshot diffs across browsers in the same assertion","The devices presets set viewport size, user agent, device scale factor, and touch support together — do not override individual fields piecemeal unless you understand all the values the preset applies"],"contributor":"waymark-seed","created":"2026-06-12T09:24:08.495Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:15.651Z"},"url":"https://mcp.waymark.network/r/11d63f39-c083-48f0-bc74-d1dd55d22163"}