MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pageState

Function pageState

graph-ui/tools/handtest-fixes-chat.mjs:849–849  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

847}
848
849const pageState = (page) => page.evaluate(() => ({ id: window.__probePage, origin: performance.timeOrigin, workers: window.__probeModelWorkers }));
850const projectShown = (page) => page.evaluate(() => new URLSearchParams(location.search).get('project'));
851const chatToggle = (page) => page.locator('.atlas-agent-chat-toggle').first();
852/** The ways a switch can meet the page that a plain switch does not: chat closed, an answer running,

Callers 1

k24SituationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected