Page debugging

Capture network requests and Console output from Android Chrome and debug-enabled WebViews

Confirm the content comes from Android Chrome or a debug-enabled WebView, then use one debugging target to correlate requests and page output.

Direct answer

Android Chrome pages and WebViews that call WebView.setWebContentsDebuggingEnabled(true) expose network events and console.* output through the Chrome DevTools Protocol. TabQA attaches during mirroring and records requests, responses, and page logs in Network and Console tabs. Console supports text, regular-expression, and Verbose, Info, Warning, or Error level filters.

Android network capture and failed-request details in TabQA
The network panel and device reproduction share one session, making requests easier to align with user actions.

Confirm whether the target is capturable

Content sourceCurrent support
Requests and console.* from an Android Chrome pageSupported
Hybrid page with WebView debugging enabledSupported
WebView without debuggingNot supported
Native libraries such as OkHttp or RetrofitNot supported
Uncaught exceptions, browser-internal logs, and JavaScript evaluationNot supported

Diagnose a failed request

  1. Start mirroring and open the network panel.
  2. Reproduce the issue and filter requests by status or keyword.
  3. Review URL, method, status, timing, headers, body, and response.
  4. Copy a sanitized cURL to replay one request or export a sanitized HAR for engineering.

Inspect page Console output

  1. Switch to Console in Page debugging.
  2. Filter messages and sources with plain text, or enter /pattern/flags for a regular expression.
  3. Combine Verbose, Info, Warning, and Error levels; Verbose is hidden by default.
  4. Messages appear newest first, with an option to preserve them across navigation and target changes.

Storage and redaction boundaries

  • Network and Console each keep at most 1,000 entries; a network text-body side is limited to 256 KiB and one Console message to 32 KiB.
  • Binary bodies are not retained.
  • Console is a read-only view of page console.* output and does not execute JavaScript.
  • Common auth headers and sensitive key names are masked, but application data explicitly written to Console still needs review.
  • Capture runs in the local test session the user explicitly starts.

Sources and basis