MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / waitUntil

Function waitUntil

apps/extension/tests/e2e/firefox-selenium-e2e.ts:437–443  ·  view source on GitHub ↗
(
  driver: WebDriver,
  condition: () => Promise<boolean>,
  message: string
)

Source from the content-addressed store, hash-verified

435
436 const { parsed: body, raw: rawBody } = await readRequestBody(request);
437 options.seenChatBodies?.push(rawBody);
438 assert.deepEqual(getRequestToolNames(body), options.toolNames ?? dangerousToolNames);
439
440 if (chatCall === 1 && options.beforeFirstCompletion !== undefined) {
441 await options.beforeFirstCompletion();
442 }
443
444 if (response.writableEnded) {
445 return;
446 }

Callers 11

waitForTextFunction · 0.70
waitForTextMatchFunction · 0.70
waitForTextGoneFunction · 0.70
isControlDisabledFunction · 0.70
clickButtonByLabelFunction · 0.70
waitForButtonByLabelFunction · 0.70
waitForNoButtonByLabelFunction · 0.70
waitForModelFunction · 0.70
waitForTargetTabFunction · 0.70
waitForTargetOptionFunction · 0.70

Calls 1

waitMethod · 0.65

Tested by

no test coverage detected