debugging-page-javascript

star 3

Executes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp. Use when the task involves console diagnostics, injected collectors, page evaluation, or browser-side debugging during automation.

tmc By tmc schedule Updated 4/8/2026

name: debugging-page-javascript description: Executes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp. Use when the task involves console diagnostics, injected collectors, page evaluation, or browser-side debugging during automation.

Debugging Page JavaScript

Use this skill when the task is about browser-side JavaScript behavior rather than navigation alone.

Quick start

  • Use eval or js for short page-side expressions
  • Use jsfile for longer snippets or reusable helpers
  • Use collector scripts when the task needs structured console output over time

Use this skill for

  • evaluating expressions in the page context
  • enabling and interpreting console output
  • capturing page errors or ad hoc telemetry
  • debugging page-side state during scripts or interactive sessions

Read next

Install via CLI
npx skills add https://github.com/tmc/cdp --skill debugging-page-javascript
Repository Details
star Stars 3
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator