Debugging
console
Capture and display browser console logs (log, error, warning, info) from the current or specified page.
Usage
$ cdpilot console [<url>]Arguments
| Name | Required | Description |
|---|---|---|
url | optional | URL to navigate to before capturing. Uses current page if omitted. |
Examples
Show console logs of the current page
$ npx cdpilot consoleNavigate and capture console output
$ npx cdpilot console https://example.com