Skip to main content

Browser

Modern browser automation using Chrome DevTools Protocol (CDP) for fast, reliable web interactions.

Overview

The Browser package provides high-performance web automation using the Chrome DevTools Protocol. Unlike traditional Selenium-based automation, CDP offers faster execution, better stability, and direct browser control. Use it for web scraping, form filling, testing, and any task requiring browser interaction.

Key Features

  • Fast Execution - Direct CDP communication without WebDriver overhead
  • Multi-Browser Support - Works with Chrome, Edge, and other Chromium browsers
  • Headless Mode - Run without visible browser window
  • Cookie Management - Get and set browser cookies
  • Screenshot Capture - Take full-page or element screenshots
  • JavaScript Execution - Run custom scripts in page context

Available Nodes

  • Open Browser - Launch a new browser instance
  • Close Browser - Terminate browser session
  • Open Link - Navigate to a URL
  • Click Element - Click on page elements
  • Type Text - Enter text into input fields
  • Send Keys - Send keyboard commands
  • Get Value - Extract element values
  • Set Value - Set input values directly
  • Wait Element - Wait for elements to appear
  • Screenshot - Capture page screenshots
  • Get Cookies - Retrieve browser cookies
  • Alert - Handle JavaScript alerts
  • Select - Choose dropdown options
  • Upload File - Handle file upload inputs
  • Switch Window/Frame - Navigate between windows and iframes
  • Go Back/Forward - Browser navigation
  • Refresh - Reload current page
  • Run Script - Execute JavaScript
  • Move to Element - Scroll elements into view
  • Save Image - Download images from page

When to Use This Package

  • Web Scraping: Extract data from websites
  • Form Automation: Fill and submit web forms
  • Testing: Automated web application testing
  • Account Management: Automate login and account tasks
  • Data Entry: Input data into web applications
  • Report Generation: Capture screenshots and data

Browser vs Web Automation

Use Browser (CDP-based) when you need:

  • Faster execution speed
  • Better handling of modern JavaScript sites
  • Direct browser control
  • Cookie manipulation

Use Web Automation (Selenium-based) when you need:

  • Firefox or Safari support
  • More established ecosystem
  • Specific legacy compatibility