About Services Tools Blog Contact us

Live Browser Console Capture

Connects to a Google Chrome window set up for inspection and reports the open tab's console messages, script errors and recent failed page loads.

  • Browser & Desktop Automation
  • Cross-sector
  • Agent skill
  • Productised
  • Local/private
  • 2026

The problem

A fault that only shows in a live signed-in page leaves nothing in the server's own records. Copying the browser's message panel by hand loses the order of the messages, script errors and failed requests. So the cause is guessed instead of read.

What it does

The script connects to Google Chrome and prints the address of the open tab. It then collects the browser's messages, script errors and failed requests into one log. An optional setting opens a chosen page in that tab first.

Outcomes

  • The console messages from a signed-in tab are captured in order.
  • Script errors and failed requests sit in one log.
  • A filter hides warnings when only errors matter.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Field desk

127.0.0.1:8787/desk/jobs Signed in
Saturday 10 October Alex Quinn · dispatcher
Van 2Mill LaneBoiler service · 09:40
Van 4Quay RoadAnnual check · 11:15
Van 6High StreetCall-back · 14:00
The board is quiet until Sync runs.

Read the console

Attach
Debugging port
Path
Progress
Waiting for the debugging port.

Recent requests

Same tab, last few seconds
MethodPathStatusFrom
GET/desk/jobs200document
GET/desk/css/board.css200stylesheet
GET/desk/api/jobs502fetch
502 · /desk/api/jobs
Time
1.4 s
Size
0 bytes
Initiator
board script

This is the request beside the TypeError. Warnings stay in the console until you hide them.

How it works

  1. Start from a Google Chrome window already set up to accept inspection.
  2. Connect and print the address of the open tab.
  3. Collect the browser messages and script errors.
  4. List recent failed page requests beside those messages.
  5. Hide warnings when only errors are needed.

Pipeline

flowchart LR
  A[Port] --> B[Tab]
  B --> C[Console]
  C --> D[Errors]
  D --> E[Network]
  E --> F[Filter]