BB-fat/browser-use-rs
Browser-use-rs is a lightweight Rust library for browser automation via Chrome DevTools Protocol (CDP) with built-in AI integration through Model Context Protocol (MCP). It provides a simple API for common browser operations such as navigating, clicking, inputting, taking screenshots, and extracting content. The library is designed to be fast and lightweight, with zero Node.js dependency and minimal overhead. It also features DOM extraction with indexed interactive elements, CSS selector or numeric index-based element targeting, and thread-safe browser session management. The library is compatible with Rust 1.70+ and requires Chrome or Chromium to be installed. It is licensed under the MIT license and has been inspired by and references the agent-infra/mcp-server-browser project.
- Category
- Developer Tools
- Pricing
- Open Source
Problem solved
Developers who need to automate browser interactions for tasks such as web scraping, automated testing, or AI-driven automation face the problem of finding a reliable and efficient library that can handle these tasks. Browser-use-rs solves this problem by providing a lightweight and fast Rust library that can automate browser interactions via CDP and integrate with AI models through MCP.
Use cases
- Web scraping
- Automated testing
- AI-driven automation
- Browser automation for data extraction
- Automating browser interactions for machine learning model training
Audience
- Developers
- ML Engineers
- Data Scientists
Pros
- Lightweight and fast
- Zero Node.js dependency
- Built-in AI integration through MCP
- Simple API for common browser operations
Cons
- Limited to Chrome or Chromium browsers
- Requires Rust 1.70+ for compatibility
Official website: https://github.com/BB-fat/browser-use-rs
Canonical LambdaBase page: https://www.lambdabase.com/tools/browser-use-rs