playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature] Pick the right context/launch options for VSCode codegen

Open mxschmitt opened this issue 2 years ago • 3 comments

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

mxschmitt avatar Aug 29 '23 16:08 mxschmitt

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).

scaleoutsean avatar Feb 13 '24 07:02 scaleoutsean

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.

mxschmitt avatar Feb 13 '24 09:02 mxschmitt