Skip to content

Files

Latest commit

 

History

History
20 lines (14 loc) · 755 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 755 Bytes

llm-using-browser

The MCP servers for the CDP already exists, like: Puppeteer, Playwright. So i only implement page control and display.

Server

  1. /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --headless
  2. pnpm install
  3. copy url in step 2 to screenshot_service.js
  4. node screenshot_service.js
  5. node server.js

Client

  1. cd vite-project
  2. pnpm install
  3. pnpm run dev

Video

3.8.mov