Writes and explains txtar-based cdp automation scripts, including txtar header comments, main.cdp, helper JavaScript files, sourced helper scripts, assertions, and artifact output. Use when the task involves authoring, debugging, or reviewing cdp run scripts.
Captures network activity with HAR, HARL, and cdp tagging workflows, including streaming capture, annotations, and WebRTC or gRPC-Web related recorder output. Use when the task involves recording, filtering, or explaining network traffic capture in this repository.
Captures screenshots, PDFs, and visual artifacts from pages driven by cdp scripts or the interactive CLI. Use when the task involves screenshot workflows, device emulation captures, PDF export, or embedding visual artifacts into recorded sessions.
Operates the cdp CLI for browser navigation, element interaction, JavaScript evaluation, browser attachment, and interactive REPL workflows. Use when the task involves driving Chrome or Chromium with the repo's cdp command, exploring available commands, or choosing between interactive and scripted execution.
Applies device and network emulation through the cdp MCP server. Use when the task involves viewport changes, mobile presets, throttling, offline mode, geolocation, or request header overrides.
Handles JavaScript dialogs through the cdp MCP server. Use when the task involves alert, confirm, prompt, or beforeunload flows that block page automation until the dialog is answered.
Captures and compares DOM snapshots through the cdp MCP server. Use when the task involves proving what changed after an interaction, navigation, or script execution.
Intercepts requests and responses through the cdp MCP server. Use when the task involves blocking URLs, stubbing responses, modifying headers, or verifying network behavior during an automated browser session.