You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aec5074
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -712,6 +712,8 @@ Both tools require a `provider` parameter (`'browserstack'`, `'saucelabs'`, `'te
712
712
713
713
The server lists only the tools that fit the current session: browser sessions get the page tools below, mobile sessions the gestures and device tools, Electron sessions the Electron tools. Rarely used groups (mocks, cookies, device emulation, extensions, attaching, the raw element list, cloud app uploads) are listed after the agent calls `enable_tools`, so their definitions aren't sent with every request. With several live sessions, tools are listed for the union of their platforms. Set `WDIO_MCP_TOOLS=all` to list everything up front.
714
714
715
+
Set `WDIO_MCP_NETWORK_LOGS` to configure the default Chromium network/performance log capture mode for `start_session`: `none`(default, off), `failures` (`Network.loadingFailed` and `Network.responseReceived` entries with HTTP status `>= 400`), or `all` (every Chromium `performance` log entry). Individual sessions can override this default via `start_session({ networkLogs: 'none' | 'failures' | 'all' })`.
description: 'Session logs, console errors, and crash reports for the current session. Auto-detects session type — browser: console logs + JS exceptions via getLogs(\'browser\'); Android: system/crash logs via getLogs(\'logcat\'); iOS: crash/panic + system logs via getLogs(\'crashlog\') and getLogs(\'syslog\'). NOTE: Reading this resource clears the log buffer per protocol spec — subsequent reads return only entries accumulated since the last read. Browser logs require Chromium (Chrome/Edge).',
183
+
description: 'Session logs, console errors, network performance events, and crash reports for the current session. Auto-detects session type — browser: console logs + JS exceptions via getLogs(\'browser\') and network/performance events via getLogs(\'performance\') (local Chromium only); Android: system/crash logs via getLogs(\'logcat\'); iOS: crash/panic + system logs via getLogs(\'crashlog\') and getLogs(\'syslog\'). NOTE: Reading this resource clears the log buffer per protocol spec — subsequent reads return only entries accumulated since the last read. Browser logs require Chromium (Chrome/Edge).',
0 commit comments