ov.capture.probes.navigation
Navigation probe: URL changes, redirects, frame tree, and SPA history.
Hard navigations are captured from framenavigated; SPA soft navigations
(history.pushState/replaceState/popstate) are captured by injecting a
tiny init script that records URL changes onto window.__ov_nav and reading it
back at finalize. This keeps client-side route changes visible even when no
network request accompanies them.
- class ov.capture.probes.navigation.NavigationProbe[source]
Record hard navigations (events) + soft SPA navigations (injected hook).
- attach(ctx: ProbeContext) → None[source]
Subscribe listeners before navigation. Default: no-op.
- finalize(ctx: ProbeContext) → list[Artifact][source]
Flush accumulated state into artifacts at run end. Default: nothing.