Skip to content

[Feature]: Recording when connected over CDP #34023

Open
@qgindi

Description

🚀 Feature Request

Support recording when connected over CDP.

Example

No response

Motivation

It would make Playwright better for people who often use it to automate tasks in an existing browser instance. With existing cookies, extensions etc.

Currently it works partially. Playwright Inspector can be opened via PWDEBUG=1 or page.PauseAsync.
Issues:

  1. After recording, when Playwright Inspector closed, the recording toolbar and other visuals remain in the page. In all tabs.
  2. Next time, while recording, links don't respond to clicks. Instead records duplicate "click" statements.
  3. There is no way to record to a file (-o file).

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