Methods for configuring the browser type, driver location, download behavior, network settings, and automation engine mode.
Methods for attaching custom logic that runs after data entry, when selectors match elements, or when selectors fail to find elements.
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.
Read and write DOM attributes directly on matched elements.
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.
Methods for filling in form inputs from data sources - overwriting, appending, or inserting content from strings, files, databases, or grids.
Methods for executing custom JavaScript on the page and for reading, writing, or deleting browser storage (cookies, localStorage, sessionStorage, IndexedDB).
Methods for simulating clicks, keyboard input, drag-and-drop, and modifier key combinations.
Methods for navigating the browser to URLs, moving through history, and closing the browser instance.
Register a script that runs automatically on every new document load (before page scripts run), and remove it later.
Methods for scrolling the page, waiting for elements or conditions, and handling paginated or infinite-scroll data sources.
Methods for defining which elements the browser's next action targets, including iframe context, shadow DOM, and repeating element groups.
Methods for reducing automation detection - CDP protection, toString overrides, dark mode, Google referrer spoofing, chromedriver patching, and stealth clicking.
Methods for managing multiple browser tabs and windows, and for controlling the browser window state.
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.