Description
n8n-nodes-anchorbrowser
An n8n community node for integrating with the Anchor Browser API. This node provides comprehensive browser automation capabilities including session management, web scraping, AI-powered tasks, and OS-level control.
Features
Browser Sessions
- Create Session: Start new browser sessions with customizable configurations
- Get Session: Retrieve details of specific sessions
- List All Sessions: Get status of all active sessions
- End Session: Terminate specific sessions
- End All Sessions: Terminate all active sessions
- Get Recordings: Retrieve session recordings
- Get Downloads: Get session downloads
- Get Profile: Retrieve profile details
- List Profiles: View all available profiles
- Update Profile: Modify existing profiles (description only)
- Delete Profile: Remove profiles
- Fetch Webpage: Get webpage content as HTML or Markdown (requires either Session ID or URL)
- Perform Web Task: Execute AI-powered web tasks using various agents (requires either Session ID or URL)
- Take Screenshot: Capture screenshots with customizable options (requires either Session ID or URL)
- Mouse Actions: Click, double-click, move, drag and drop (requires Session ID)
- Keyboard Input: Type text, use shortcuts (requires Session ID)
- Scrolling: Scroll pages with customizable parameters (requires Session ID)
- Clipboard: Get/set clipboard content, copy/paste text (requires Session ID)
- Navigation: Navigate to URLs (requires Session ID)
- Screenshots: Capture current session screenshots (requires Session ID)
Profiles
Tools
> Note: Tools operations are flexible – you can either provide a Session ID to use an existing session, or provide a URL and let the system create a new session automatically. This makes the Tools operations perfect for quick, one-off tasks without needing to manage sessions manually.
OS Level Control
Installation
1. Install the node package:
npm install n8n-nodes-anchorbrowser
2. Or build from source:
git clone https://github.com/anchorbrowser/n8n-nodes-anchorbrowser.git
cd n8n-nodes-anchorbrowser
npm install
npm run build
Configuration
Credentials
1. Get your API key from Anchor Browser Dashboard
2. In n8n, go to Credentials and create a new “Anchor Browser API” credential
3. Enter your API key and base URL (default: https://api.anchorbrowser.io)
Node Usage
1. Add the “Anchor Browser” node to your workflow
2. Select the resource type (Browser Session, Profile, Tools, etc.)
3. Choose the operation you want to perform
4. Configure the parameters as needed
5. Connect the node to your workflow
Examples
Basic Web Scraping
1. Create Session: Start a new browser session
2. Navigate: Go to the target website using OS Control
3. Fetch Webpage: Get the page content as HTML or Markdown
4. End Session: Clean up the session
AI-Powered Task Automation
1. Perform Web Task: Use AI to complete tasks like form filling or data extraction (provides URL directly)
2. Get Results: Retrieve the task results
Session-Based Automation
1. Create Session: Start a browser session
2. Navigate: Go to target website using OS Control
3. Mouse Actions: Click buttons, fill forms using OS Control
4. Take Screenshot: Capture the result
5. End Session: Clean up
Profile Management
1. List Profiles: View all available profiles
2. Get Profile: Retrieve specific profile details
3. Update Profile: Modify profile description
4. Delete Profile: Remove unused profiles
Configuration Options
Session Configuration
Browser Configuration
Proxy Configuration
Tools Configuration
API Reference
For detailed API documentation, visit Anchor Browser API Docs.
Support
License
MIT License – see LICENSE file for details.
Contributing
Contributions are welcome! Please read our Contributing Guidelines and submit pull requests to our GitHub repository.