MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / revisit

Function revisit

e2e/src/surfaces/browser.ts:123–130  ·  view source on GitHub ↗
(
  page: Page,
  options: { readonly timeout?: number } = {},
)

Source from the content-addressed store, hash-verified

121
122/** `visit` for a reload — the drop-in for `reload({ waitUntil: "networkidle" })`. */
123export const revisit = async (
124 page: Page,
125 options: { readonly timeout?: number } = {},
126): Promise<void> => {
127 await page.reload({ waitUntil: "load", ...options });
128 await hydrated(page);
129 await settle(page);
130};
131
132/**
133 * Click `trigger` until `revealed` is visible.

Calls 2

hydratedFunction · 0.85
settleFunction · 0.70

Tested by

no test coverage detected