Skip to content

v2.19.0

Choose a tag to compare

@igorzheludkov igorzheludkov released this 28 Oct 19:40
· 118 commits to main since this release

New tool: get_timeline

One time-ordered list of what happened: your own actions (tap, navigate, input_text, reload_app, ...), route changes, network requests, console logs, app restarts and Fast Refresh edits.

  • Defaults to the window since your last action, so tap(...) then get_timeline() answers "what did that cause?" in one call. execute_in_app reads never anchor the window while another action exists.
  • since / until accept "last_action", relative times ("-30s", "-5m") or epoch ms; sources narrows to actions, routes, network, logs, restarts, refresh; limit up to 500 (actions, routes, restarts and errors are kept first).
  • device resolves like get_logs; in-app reads are bounded to 3 s with no reconnect.
  • Route and refresh times use the device clock, shifted by a per-read clock probe off the iOS simulator.
  • Chromium/Electron: routes come from CDP Page navigation events, so an open JavaScript dialog does not block it.
  • Actions record targets only, never the text input_text typed. Summaries are redacted before truncation.

Groundwork

  • Injected React commit recorder, installed before the bundle on every new JS context and read on the device clock (feeds the reserved perf source in a later release).
  • App runs now record when they began.
  • Actions made through the dev meta-tool are recorded too.

Tests

  • Timeline and vault unit tests no longer touch the network for license validation.