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

Function countText

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

Source from the content-addressed store, hash-verified

142const toolbar = (page) => page.locator('.atlas-graph-exploration').first();
143const scopeName = (page) => page.locator('.atlas-graph-scope-name').first().innerText({ timeout: 1000 }).catch(() => '');
144const countText = (page) => page.locator('.atlas-graph-scope-count').first().innerText({ timeout: 1000 }).catch(() => '');
145const layerText = (page) => toolbar(page).evaluate((bar) => [...bar.querySelectorAll('span')].map((el) => el.textContent?.trim() ?? '')
146 .find((text) => /^\d+ layers?$/.test(text)) ?? '').catch(() => '');
147

Callers 4

checkK9Function · 0.85
stateFunction · 0.85
checkK8Function · 0.85
checkK5Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected