microsoft / microsoft/playwright
[Feature] a dedicated clipboard API
Open
P3-collecting-feedback
- Dominant language
- TypeScript
- Stars
- 96.3k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
It might be nice to have a dedicated clipboard API scoped to page.
Some ideas:
```js
await page.pasteText(text);
await page.keyboard.press('Ctrl + V');
await page.copySelection();
await context.clipboard.setContent(mimeType, content);
```
Contributor guide
Research direction
No implementation files, tests, or entry points are named. Start by clarifying which clipboard operations and scopes are required from the proposed page, keyboard, and context APIs, then identify the relevant Playwright API and test areas. Done would require an agreed API design, implementation scope, and tests for the supported clipboard behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100