v0.1.19
Added 1
- Add recording-start and recording-stop commands to record actions performed manually in the browser and return them as Playwright code
Fixed 15
- Cache the update check result so commands no longer pay a network round-trip to the npm registry on every invocation
- Honor NO_UPDATE_NOTIFIER and CI environment variables in the installed-skill check and run at most once a day
- Do not parse negative positional arguments as flags
- Prevent the session daemon from opening a console window on Windows
- Fix daemon socket path truncation on long workspace paths that left sessions stuck with EADDRINUSE
- Add .playwright-cli/ to .gitignore when running install --skills since traces there can contain credentials
- Correct the hint printed after attach to show -s instead of --s
- Return the original screenshot bytes instead of silently downscaling them to model-specific limits
- Drop the cached browser backend after close with a shared browser context so subsequent commands no longer fail
- Allow tracing to be restarted after a failed tracing-stop instead of permanently producing broken archives
- Infer the default codegen language from the environment
- Do not clobber the chromiumSandbox setting from the config file
- Honor --user-data-dir in extension mode
- Do not treat orphaned browser preferences entries as an installed extension
- Prevent state-save and state-load from hanging when the state contains IndexedDB and a page on that origin is open
From playwright-cli
What's New
New Commands
recording-start/recording-stop— Record actions that the user performs manually in the browser and return them as Playwright code. Useful when the user wants to demonstrate a flow instead of describing it (#42359)
Bug Fixes
- The update check result is cached again, so commands no longer pay a network round-trip to the npm registry on every invocation (#454)
- The installed-skill check honors
NO_UPDATE_NOTIFIER/CIand runs at most once a day (#447) - Negative positional arguments (e.g.
mousewheelscroll-up deltas) are no longer parsed as flags (#42333) - The session daemon no longer opens a console window on Windows (#42155)
- Long workspace paths no longer truncate the daemon socket path, which left sessions stuck with
EADDRINUSE(#42185) install --skillsadds.playwright-cli/to.gitignore, since traces there can contain credentials (#42318)- The hint printed after
attachshows-sinstead of--s(#42138) screenshotreturns the original screenshot bytes instead of silently downscaling them to model-specific limits (#42406)- Drop the cached browser backend after
closewith a shared browser context, so subsequent commands no longer fail (#42365) - Tracing can be restarted after a failed
tracing-stopinstead of permanently producing broken archives (#42425) - The default codegen language is inferred from the environment (#42150)
- Do not clobber the
chromiumSandboxsetting from the config file (#42288) - Honor
--user-data-dirin extension mode (#42190) - Do not treat orphaned browser preferences entries as an installed extension (#42224)
state-save/state-loadno longer hang when the state contains IndexedDB and a page on that origin is open (#42260)