3 ms·
The browser is very straightforward, about 300 lines implementing all of the various actions you'd want an agent to have access to in puppeteer: const puppetee
by post_below 7mo ago
The browser is very straightforward, about 300 lines implementing all of the various actions you'd want an agent to have access to in puppeteer:
const puppeteer = require('puppeteer');
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://example.com https://example.com');
Session persistence is accomplished by storing the WebSocket endpoint between calls.
More:
https://pptr.dev/guides/browser-management https://pptr.dev/guides/browser-management