release: playwriter@0.0.56

This commit is contained in:
Tommy D. Rossi
2026-01-26 14:10:26 +01:00
parent 9e79565e1a
commit c8bd87d8f6
2 changed files with 18 additions and 1 deletions
+17
View File
@@ -1,5 +1,22 @@
# Changelog
## 0.0.56
### Bug Fixes
- **Fix hung navigations on YouTube and similar sites**: Resume filtered targets (like service workers) to avoid blocking navigations. CDP `Target.setAutoAttach` with `waitForDebuggerOnStart: true` requires calling `Runtime.runIfWaitingForDebugger` even on targets we filter out, otherwise they hang forever.
- **Fix auto-enable page selection when no pages**: Properly handles the case when there are no existing pages during auto-enable
### Features
- **CDP JSONL logging**: Added structured CDP logging to a JSONL file (`/tmp/playwriter/cdp.jsonl`) for debugging. Log all CDP messages with direction, timestamp, and source info. Use `jq` to analyze.
- **Sync tab state for automated tabs**: Tab state is now properly synced for programmatically created tabs
### Improvements
- **Better logging output**: Use `util.inspect` for cleaner log output with proper object formatting
- **Set default timeout**: Added sensible default timeouts for operations
## 0.0.55
### Features
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "playwriter",
"description": "",
"version": "0.0.55",
"version": "0.0.56",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",