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

Function capture

graph-ui/tools/pr-2068-map-e2e.mjs:19–22  ·  view source on GitHub ↗
(name,locator)

Source from the content-addressed store, hash-verified

17 if(url===origin+'/rpc') {try{const body=request.postDataJSON();report.rpc.push({method:body.method,tool:body.params?.name,arguments:body.params?.arguments});}catch{}}
18});
19const capture=async(name,locator)=>{
20 if(locator) await locator.scrollIntoViewIfNeeded();
21 await page.screenshot({path:`${out}/${name}`,fullPage:false});report.screenshots.push({file:name,at:new Date().toISOString()});
22};
23try {
24 await page.goto(origin+'/?project=cbm-pr2068');
25 await page.locator('.repo-map-area').first().waitFor({timeout:60000});

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected