Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

openpeeps/chopchop

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChopChop — A browser automation library around
Chrome DevTools Protocol

nimble install chopchop

API reference
Github Actions Github Actions

Key Features

  • High-level library based on ChromeDevToolsProtocol package
  • Browser automation - launch Chrome, navigate pages, extract content
  • DOM querying - querySelector / querySelectorAll with full element access
  • Mouse & keyboard - click, double-click, hover, drag & drop, type text, press keys
  • JavaScript evaluation - evaluate / evaluateHandle with return values
  • Navigation control - waitForNavigation, waitForSelector, multiple waitUntil modes (Load, DOMContentLoaded, NetworkIdle)
  • Device emulation - viewport, user agent, geolocation
  • Cookie management - get, set, delete, clear cookies
  • Local & session storage - read/write via CDP
  • Dialog handling - alert/confirm/prompt auto-accept or custom handlers
  • Console capture - listen to browser console messages
  • Network interception - route, fulfill, abort requests with glob patterns
  • File uploads - setInputFiles on file inputs
  • Select/dropdown - select by value, label, or index
  • Screenshots - page screenshots as base64 data
  • Isolated sessions - BrowserContext with separate cookies/storage per context
  • Init scripts - inject JavaScript before page scripts run

Examples

...

Projects using ChopChop

❤ Contributions & Support

OpenCode Switch to Open-Source LLMs via OpenCode GO, choosing from a variety of powerful models such as DeepSeek, Qwen, Kimi, GLM-5, MiniMax, MiMo. 🍕 Use our referral link to get started!

🎩 License

MIT license. Made by Humans from OpenPeeps.
Copyright OpenPeeps & Contributors — All rights reserved.

Releases

Packages

Contributors

Languages

Generated from openpeeps/pistachio
Morty Proxy This is a proxified and sanitized view of the page, visit original site.