'Is it possible to start recording video for an existing page in Playwright?

I'm connecting to a running Chrome instance with playwright's connectOverCDP method. Is it possible to start recording video for the context that's already opened instead of creating a new one with recordVideo turned on?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source