$ ego-browser nodejs <<'EOF' const task = await taskSpace("tutorial: ego lite guide"); const page = task.page("p1"); const receipt = await page.click("text=Learn more", { label: "open IANA help page" }); await page.waitForURL(/iana\.org/); const path = await page.screenshot({ path: "/images/11-iana-after-click.png" }); console.log({ url: await page.url(), title: await page.title(), screenshot: path.split("/").pop() }); console.log(await task.pages()); EOF { url: 'https://www.iana.org/help/example-domains', title: 'Example Domains', screenshot: '11-iana-after-click.png' } [ Page { label: 'p1', spaceId: 9, mouse: PageMouse {}, keyboard: PageKeyboard {} } ]