fix: move log dir from /tmp/playwriter to ~/.playwriter (fixes #44)

This commit is contained in:
Tommy D. Rossi
2026-02-06 10:44:28 +01:00
parent 7f3fddb2af
commit d6adb460d5
7 changed files with 24 additions and 13 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ you can find the logfile for playwriter executing `playwriter logfile`. read tha
`playwriter logfile` also logs a jsonl file with all CDP commands and events being sent between extension, cli, mcp and relay. the cdp log is a jsonl file (one json object per line). you can use jq to process and read it efficiently. for example, list direction + method:
```bash
jq -r '.direction + "\t" + (.message.method // "response")' /tmp/playwriter/cdp.jsonl | uniq -c
jq -r '.direction + "\t" + (.message.method // "response")' ~/.playwriter/cdp.jsonl | uniq -c
```
## testing iframe behaviour with snapshots and out of process frames