microsoft / microsoft/playwright

[Feature]: Display a photosensitivity/epileptic warning before non headless test runs

Open
#42,249 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-collecting-feedback
Dominant language
TypeScript
Stars
96.3k
Forks
6.5k
Avg merge
1d 6h
Merged PRs (30d)
180

Description

### 🚀 Feature Request

Display an "epileptic warning" before the tests run in non headless mode.

### Example

_No response_

### Motivation

Since playwright is so fast, i think for some people it can help to add an "epileptic warning" before the tests run.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the test runner entry point that handles non-headless runs and inspect the existing tests for runner startup behavior. Add the warning before non-headless tests begin, then verify that headless runs are unchanged and that coverage confirms the warning appears in the intended mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.