Skip to content

[Feature] a dedicated clipboard API #15860

Description

@aslushnikov

It might be nice to have a dedicated clipboard API scoped to page.

Some ideas:

await page.pasteText(text);
await page.keyboard.press('Ctrl + V'); 
await page.copySelection();
await context.clipboard.setContent(mimeType, content);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions