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

Function scrollChatToEnd

graph-ui/tools/smoke-w7c.mjs:762–769  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

760
761 // ------------------------------------- 6f. Kopfzeile, Hoehe, Tastatur
762 const scrollChatToEnd = () =>
763 page.evaluate(() => {
764 const box = document.querySelector('[data-testid="atlas-chat-scroll"]');
765 if (box !== null) {
766 box.scrollTop = box.scrollHeight;
767 }
768 return box === null ? 0 : box.scrollTop;
769 });
770
771 const headerVisible = async (label) => {
772 await scrollChatToEnd();

Callers 1

headerVisibleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected