Here are some examples of how to get verbose output with various clients, revealing protocol-level browser activity.
Environment variables to set:
- If you use Puppeteer:
DEBUG=puppeteer:*(look for verbose logging in the Puppeteer README)
- If you use Playwright:
However you start a Remote Protocol session, you can also set a "remote.log.level" preference to "Trace" to see protocol activity.
Here is an example of enabling trace-level Firefox logs with a Puppeteer script