tappi
shaihazher tarafından
Web & Frontend DevelopmentÖzet
Lightweight CDP browser control for AI agents.
Açıklama
Bu Beceri Ne Yapar
CLI tool that controls Chrome via the Chrome DevTools Protocol, returning compact indexed lists of interactive page elements. Returns 50-200 tokens per interaction compared to thousands for accessibility tree-based approaches. Supports shadow DOM, file uploads, canvas apps, cross-origin iframes, and raw keyboard input.
Returns a compact numbered element index instead of a full accessibility tree, cutting token usage by 3-10x over multi-step browser flows compared to built-in browser tools.
Ne Zaman Kullanılır
- Filling and submitting web forms on a target site
- Uploading files to Instagram or Twitter without an OS file picker
- Entering and formatting data in Google Sheets via keyboard navigation
- Clicking through cross-origin iframe widgets like captcha checkboxes
- Extracting visible text from React and Vue SPAs that use shadow DOM
Örnek İş Akışı
User asks: Fill out the contact form at example.com and submit it
- 1
Opens the page with
bjs open https://example.com/contact - 2
Lists interactive elements with
bjs elementsto get an indexed list of inputs and buttons - 3
Types into each field using
bjs type <index> <value> - 4
Verifies field content with
bjs check <index>before submitting - 5
Clicks the submit button with
bjs click <index>
Form submitted; agent confirms by reading updated page text or taking a screenshot
Gereksinimler
- Chrome or Chromium browser running with --remote-debugging-port=18800
Kurulum
clawhub install shaihazher/tappiCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.