← Back to microsoft/playwright
microsoft / playwright · Issue No. 41564
Playwright.ps1 codegen allows for an -output param to specify an automatic output file without user interaction on tha inspector UI save button.
Can we exend this function to the Recorder App and through page.PauseAsync() in Playwright-dotnet
Primarily in playwright-dotnet allow page.PauseAsync() to be overloaded with output parameter like so:
page.PauseAsync("./folderLocation/output.cs")
The functionality already exists n the recorder App this and is available in tools like playwright.ps1, the parameters just need to be extended out to the protocol validator to allow consuming tools to pass the param.
I currently have a need to pass this output via the Playwright .net libraries page.PauseAsync() method to enable automatic codegen file saving, which programatically inaccessable currently.
Relay reads this issue against the repository's contribution signals: the files it is likely to touch, how the maintainers triage work this size, and what the first contribution would exercise.
The full analysis for this issue is still being assembled. Until then, the description above and the thread on GitHub are the most reliable context.