Library

Browser Settings and Engine

Methods for configuring the browser type, driver location, download behavior, network settings, and automation engine mode.

Callbacks and Conditional Logic

Methods for attaching custom logic that runs after data entry, when selectors match elements, or when selectors fail to find elements.

Data Retrieval

Methods for extracting data from the current page - as a grid, raw HTML, sitemap URLs, Next.js hydration data, or an LLM-friendly page digest.

Element Attributes

Read and write DOM attributes directly on matched elements.

File Downloads, Uploads, and Export

Methods for downloading files by clicking links, uploading files through file inputs, printing pages to PDF, and exporting scraped data to CSV, Excel, or text files.

Form Data Entry

Methods for filling in form inputs from data sources - overwriting, appending, or inserting content from strings, files, databases, or grids.

JavaScript Execution and Storage

Methods for executing custom JavaScript on the page and for reading, writing, or deleting browser storage (cookies, localStorage, sessionStorage, IndexedDB).

Mouse and Keyboard

Methods for simulating clicks, keyboard input, drag-and-drop, and modifier key combinations.

Navigation

Methods for navigating the browser to URLs, moving through history, and closing the browser instance.

Script Injection

Register a script that runs automatically on every new document load (before page scripts run), and remove it later.

Scrolling, Waiting, and Pagination

Methods for scrolling the page, waiting for elements or conditions, and handling paginated or infinite-scroll data sources.

Selector Targeting

Methods for defining which elements the browser's next action targets, including iframe context, shadow DOM, and repeating element groups.

Stealth and Anti-Detection

Methods for reducing automation detection - CDP protection, toString overrides, dark mode, Google referrer spoofing, chromedriver patching, and stealth clicking.

Tabs and Windows

Methods for managing multiple browser tabs and windows, and for controlling the browser window state.

Waiting for Elements, State, and Time (WaitFor)

WaitFor has three overloads on Browser - a fixed time, a Selector, or an ElementState - and behaves differently depending on whether it is called before or after an action in the current unit of work.