import { createEye } from "./src/eye";
import puppeteer from "puppeteer";
async function main() {
const browser = await puppeteer.connect({
browserWSEndpoint: "ws://localhost:9222/devtools/browser/...",
});
const page = await browser.newPage();
const eye = await createEye({ platform: { name: "puppeteer", page } });
await page.goto("https://www.google.com/");
await eye.look("Search combobox").then((ele) => ele?.type("MCP"));
await eye.look("Google Search button").then((ele) => ele?.click());
await page.waitForNavigation();
console.log(await eye.snapshot(true));
}
main();-
Notifications
You must be signed in to change notification settings - Fork 0
How ARIA assists AI using embedding
License
mcpc-tech/aria-eye
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
How ARIA assists AI using embedding
Resources
License
Contributing
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published