AppiumTransport.readConsoleCaptureSince method
AppiumTransport › readConsoleCaptureSince
Dumpsadb logcat and returns the WebView console/error output logged since the marker from AppiumTransport.beginConsoleCapture.Filters to the Chromium/WebView tags that carry JS
console.* output and uncaught errors, and caps the result length. Bounded, post-hoc, failure-path-only — never a live monitor.Signature:
readConsoleCaptureSince(handle: ConsoleCaptureHandle | undefined): Promise<string | undefined>Parameters:
| Parameter | Type | Description |
|---|---|---|
| handle | ConsoleCaptureHandle | undefined | The capture handle (or undefined when capture never started). |
Returns: Promise<string | undefined> — The captured console/error text, or undefined if nothing relevant was logged.