Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: remove temporary screenshot script

Steven Enamakelb45fba7ce121
diff --git a/shot-tmp.mjs b/shot-tmp.mjs
deleted file mode 100644
index b8132715ac..0000000000
--- a/shot-tmp.mjs
+++ /dev/null
@@ -1,17 +0,0 @@
-import { chromium } from 'playwright';
-const FLOW = process.env.FLOW_ID;
-const b = await chromium.launch();
-const p = await b.newPage({ viewport: { width: 1440, height: 900 }, deviceScaleFactor: 2 });
-p.on('console', m => { if (m.type() === 'error') console.log('[console error]', m.text().slice(0, 200)); });
-await p.goto('http://127.0.0.1:1431/__dev-connect', { waitUntil: 'networkidle' });
-await p.waitForTimeout(3000);
-await p.goto('http://127.0.0.1:1431/#/flows?view=main', { waitUntil: 'networkidle' });
-await p.waitForTimeout(4000);
-await p.screenshot({ path: '/tmp/shot-list.png' });
-console.log('list url:', p.url());
-await p.goto(`http://127.0.0.1:1431/#/flows/${FLOW}`, { waitUntil: 'networkidle' });
-await p.waitForTimeout(5000);
-await p.screenshot({ path: '/tmp/shot-canvas.png' });
-console.log('canvas url:', p.url());
-console.log('title input present:', await p.locator('[data-testid=flow-canvas-title]').count());
-await b.close();