microsoft / microsoft/playwright

[Feature] Add ability to specify video params (like fps) for video recordings

Open
#17,217 7 comments 36 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Would be good to specify params for video recordings like fps

```js
const context = await browser.newContext({
recordVideo: {
dir: 'videos/',
size: { width: 640, height: 480 },
fps: 25
}
});
```

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 locating the recordVideo API entry point and the existing video-recording implementation and tests. Check how size is currently handled, then verify that an fps option is accepted and affects recordings without breaking existing options; done means the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.