Open
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:
- After recording, when Playwright Inspector closed, the recording toolbar and other visuals remain in the page. In all tabs.
- Next time, while recording, links don't respond to clicks. Instead records duplicate "click" statements.
- There is no way to record to a file (
-o file
).