MCPcopy Create free account
hub / github.com/callstack/agent-device / findTextInWaitSnapshot

Function findTextInWaitSnapshot

src/daemon/selector-runtime-backend.ts:211–217  ·  view source on GitHub ↗
(
  params: SelectorRuntimeDeviceParams,
  text: string,
)

Source from the content-addressed store, hash-verified

209}
210
211async function findTextInWaitSnapshot(
212 params: SelectorRuntimeDeviceParams,
213 text: string,
214): Promise<boolean> {
215 const snapshot = await captureWaitSnapshot(params);
216 return Boolean(findNodeByLabel(snapshot.nodes, text));
217}
218
219async function captureWaitSnapshot(params: SelectorRuntimeDeviceParams) {
220 const captureRuntime = createSelectorCaptureRuntime({

Callers 2

findTextFunction · 0.85

Calls 2

findNodeByLabelFunction · 0.90
captureWaitSnapshotFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…