capture_console
Capture console output from a webpage by providing a URL, optional JavaScript command, and wait duration. Monitor and retrieve all console messages for debugging or analysis.
Instructions
Capture console output from a web page. Accepts a URL, optional JS command to run, and duration to wait (default 4 seconds). Returns all console messages during that time.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | Duration to capture console output in seconds | |
jsCommand | No | Optional JavaScript command to execute on the page | |
url | Yes | HTTP/HTTPS URL to capture console from | |
waitUntil | No | Wait until event: load, domcontentloaded, networkidle0, networkidle2 | domcontentloaded |