/chrome-driver:interact [--click=SELECTOR] [--type=SELECTOR=TEXT] [--eval=JS]from chrome-driver
Interact with current page without reloading (for multi-step workflows)
Ships in chrome-driver. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Interact with the current browser page WITHOUT navigating away. Essential for multi-step workflows on SPAs.
Key difference from navigate: This command works on the already-open tab without reloading the page, preserving state between actions.
Parse the user's request and run:
${CLAUDE_PLUGIN_ROOT}/bin/interact [OPTIONS]
Options:
--click=SELECTOR - Click element matching CSS selector--type=SELECTOR=TEXT - Type text into input field--eval=JAVASCRIPT - Execute JavaScript and print result--wait-for=SELECTOR - Wait for element to appear--select=SELECTOR=VALUE - Select dropdown option--focus=SELECTOR - Focus an element--text=SELECTOR - Get text content of element--timeout=SECONDS - Timeout (default: 30)--no-headless - Run with visible browser window--user-data=PATH - Use persistent Chrome profile (required for session continuity)Examples:
# Execute JavaScript on current page
${CLAUDE_PLUGIN_ROOT}/bin/interact --eval="document.title" --user-data=~/.chrome-session
# Click a button without navigating
${CLAUDE_PLUGIN_ROOT}/bin/interact --click="#submit-btn" --user-data=~/.chrome-session
# Chain actions: type then click
${CLAUDE_PLUGIN_ROOT}/bin/interact --type="#search=query" --click="#search-btn" --user-data=~/.chrome-session
# Get text from an element
${CLAUDE_PLUGIN_ROOT}/bin/interact --text="h1.title" --user-data=~/.chrome-session
7-day visitors to each command page
9 commands in this plugin
/browserBrowser StatusCheck Chrome browser status/cookiesManage browser cookies and sessions/extractContent ExtractionExtract content from a web page/formFill out and submit web forms/navigateNavigate to a URL and interact with the page/pdfPDF GenerationGenerate a PDF from a web pageClaude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.