playwright
playwright copied to clipboard
[Feature] Pick the right context/launch options for VSCode codegen
Blocked by https://github.com/microsoft/vscode/issues/193160.
Working branch:
- https://github.com/mxschmitt/playwright/tree/vscode-codegen-options
- https://github.com/microsoft/playwright-vscode/tree/codegen-experimentation
Related issues:
- https://github.com/microsoft/playwright/issues/20096
- https://github.com/microsoft/playwright/issues/23050
Will this also allow codegen with non-incognito browser sessions, or would that be a new enhancement request? The reason I ask incognito won't allow installation of browser extensions, so anyone who needs to use extensions would want codegen to support non-incognito mode (unless there's a way to do it now).
This issue is not about that, it would be a new one. We recommend for now just calling page.pause() inside your persistent context, which should also give you codegen.