Documentation Index
Fetch the complete documentation index at: https://mintlify.com/remorses/playwriter/llms.txt
Use this file to discover all available pages before exploring further.
playwriter logfile
Print the paths to the relay server log files. Useful for debugging connection issues and inspecting CDP traffic.Returns
Prints two log file paths to stdout:Log Files
Main relay server log file containing:
- Server startup/shutdown events
- Extension connection status
- Error messages and warnings
- Session lifecycle events
Chrome DevTools Protocol event log in JSONL format (one JSON object per line):
- All CDP commands sent between extension, CLI, MCP, and relay
- CDP events from the browser
- Request/response pairs
- Direction indicators (client→server, server→client)
Exit Codes
0- Always succeeds
Examples
CDP Log Format
Each line incdp.jsonl is a JSON object with this structure:
ISO 8601 timestamp of the event
Message flow direction:
client->server- Command from MCP/CLI to extensionserver->client- Response or event from extension
The CDP message object containing
id, method, and params