Headless WebKit Remote Inspector Client
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor
.gitignore
README.md
demo-chrome.js
demo-console-pipe.js
demo-debug-step-through-forever.js
headless-inspector.png
package.json

README.md

Headless Inspector

headless-inspector

Headless Remote WebKit Inspector Client

Usage

  1. Launch a browser with remote webkit inspector server enabled

    open -a "Google Chrome Canary" --args --remote-debugging-port=9222 --user-data-dir="$TMPDIR/.chrome-user-data" about:blank

  2. Find the first available debugger socket

    DEBUGGER_SOCKET=$(curl -s "http://localhost:9222/json"|grep webSocketDebuggerUrl|cut -d'"' -f4| head -1)