Skip to content

docs(playwright): document recommended Chromium launch options#235

Merged
gregberge merged 1 commit into
mainfrom
greg/arg-405-document-playwright-launch-options
Jul 23, 2026
Merged

docs(playwright): document recommended Chromium launch options#235
gregberge merged 1 commit into
mainfrom
greg/arg-405-document-playwright-launch-options

Conversation

@gregberge

Copy link
Copy Markdown
Member

What

The Playwright SDK reference didn't mention the recommended Chromium launch options in its setup config, even though they're one of the most impactful ways to prevent flaky screenshots:

launchOptions: {
  args: ["--disable-lcd-text", "--font-render-hinting=none"],
}

This PR:

  • Adds a use.launchOptions block to the primary "Setup Visual Testing" config example.
  • Adds a hint explaining why the flags matter (deterministic glyph rendering across macOS and CI) and links to the Stabilize text rendering guide.
  • Notes that the Argos Playwright reporter now warns at startup when these flags are missing from a Chromium project.

Related

Pairs with argos-ci/argos-javascript#350, which adds the startup warning to the reporter.

🤖 Generated with Claude Code

The Playwright SDK reference did not mention the `--disable-lcd-text`
and `--font-render-hinting=none` launch options in its setup config.
Add them to the primary config example and explain why they matter,
linking to the Stabilize text rendering guide. Also note that the Argos
reporter now warns at startup when these flags are missing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

ARG-405

@gregberge
gregberge merged commit 66d64fd into main Jul 23, 2026
2 checks passed
@gregberge
gregberge deleted the greg/arg-405-document-playwright-launch-options branch July 23, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant