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
docs: update CLAUDE.md and README with session recording and code export details
- Added documentation for session step recording, MCP resources, and generated WebdriverIO JS scripts.
- Updated file structure and descriptions to include recording, code generation, and MCP resource components.
- Highlighted session recording as a feature in the README.
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ appium
85
85
-**Scrolling**: Smooth scrolling with configurable distances
86
86
-**Attach to running Chrome**: Connect to an existing Chrome window via `--remote-debugging-port` — ideal for testing authenticated or pre-configured sessions
87
87
-**Device emulation**: Apply mobile/tablet presets (iPhone 15, Pixel 7, etc.) to simulate responsive layouts without a physical device
88
+
-**Session Recording**: All tool calls are automatically recorded and exportable as runnable WebdriverIO JS
88
89
89
90
### Mobile App Automation (iOS/Android)
90
91
@@ -458,6 +459,16 @@ This eliminates the need to manually handle permission popups during automated t
458
459
-**Data Format:** TOON (Token-Oriented Object Notation) for efficient LLM communication
459
460
-**Element Detection:** XML-based page source parsing with intelligent filtering and multi-strategy locator generation
460
461
462
+
### Session Recording & Code Export
463
+
464
+
Every tool call is automatically recorded to a session history. You can inspect sessions and export runnable code via MCP resources — no extra tool calls needed:
465
+
466
+
-`wdio://sessions` — lists all recorded sessions with type, timestamps, and step count
467
+
-`wdio://session/current/steps` — step log for the active session, plus a generated WebdriverIO JS script ready to run with `webdriverio`
468
+
-`wdio://session/{sessionId}/steps` — same for any past session by ID
469
+
470
+
The generated script reconstructs the full session — including capabilities, navigation, clicks, and inputs — as a standalone `import { remote } from 'webdriverio'` file.
0 commit comments