Camoufox icon

Camoufox

Scrape websites with a stealth anti-detect browser

Get Page Content

AI-generated

Summary

Navigate to a specified URL using a stealth browser, optionally waiting for navigation to complete, for a specific CSS selector to appear, and running pre-defined actions on the page, then extract and return the page's URL, title, HTTP status code, full HTML content, and visible text body.

Inputs

  • URL (required) — The URL to navigate to.
  • Wait Until — Specifies when to consider navigation succeeded; options: 'DOM Content Loaded', 'Load', 'Network Idle', or 'Commit'.
  • Wait for Selector — Optional CSS selector to wait for after navigation to ensure dynamic or JS-rendered content is loaded.
  • Timeout (Ms) — Maximum time in milliseconds to wait for navigation and selectors.
  • Actions Before Extract — Optional list of actions to perform after navigation but before content extraction, such as clicking elements, filling inputs, typing text, waiting for selectors, scrolling, or waiting for a set time.

Output shape

a list of JSON objects each representing an input item, each containing url, title, HTTP status code, full HTML content as a string, and the visible text of the page body

Each output item corresponds to an input item and includes these fields: url (current page URL), title (page title), status (HTTP response status), html (full page HTML content), and text (visible text content of the page body). Errors during processing an item can result in output containing an error message if 'Continue On Fail' is enabled.

Links

Discussion