NAiOS IconNAiOS Logo
Volver al catálogo

Cloudflare Browser Rendering

cloudflare_browser_rendering

Cloudflare Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network, facilitating tasks such as automating browser interactions, capturing screenshots, generating PDFs, and extracting data from web pages.

Acciones
4
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (4)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Capture ScreenshotCLOUDFLARE_BROWSER_RENDERING_CAPTURE_SCREENSHOTAcción

Tool to capture a webpage screenshot. Use when you need a visual snapshot of a URL or HTML with optional viewport and clipping.

Parámetros de entrada

  • urlstringuri

    URL of the page to capture; required if `html` is unset

  • htmlstring

    Raw HTML content to render; required if `url` is unset

  • cacheTTLinteger

    Cache TTL in seconds (0 disables cache)

  • viewportobject

    Viewport dimensions

  • account_idstringObligatorio

    Cloudflare account identifier

  • screenshotOptionsobject

    Screenshot options like fullPage or clip

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AccountsCLOUDFLARE_BROWSER_RENDERING_LIST_ACCOUNTSAcción

Tool to list all Cloudflare accounts accessible. Use to retrieve a valid account_id for further browser rendering actions.

Parámetros de entrada

  • namestring

    Filter accounts by name (partial match)

  • pageinteger

    Page number (1-based).

  • per_pageinteger

    Number of accounts per page (5-50).

  • directionstringenum

    Sort direction of results. Allowed values: 'asc' or 'desc'

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Scrape HTML ElementsCLOUDFLARE_BROWSER_RENDERING_SCRAPE_HTML_ELEMENTSAcción

Tool to scrape HTML elements for text, HTML, attributes, and box metrics. Use when you need detailed data of matched selectors after rendering a page.

Parámetros de entrada

  • urlstringuri

    Page URL to navigate and scrape

  • htmlstring

    Inline HTML document to render and scrape

  • cacheTTLinteger

    Optional cache TTL in seconds; default=5; set 0 to disable

  • elementsobject[]Obligatorio

    List of CSS selectors to scrape

  • account_idstringObligatorio

    Cloudflare Account ID

  • actionTimeoutinteger

    Max time after load to run actions, in milliseconds (max 300000)

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Take Webpage SnapshotCLOUDFLARE_BROWSER_RENDERING_TAKE_WEBPAGE_SNAPSHOTAcción

Tool to capture rendered HTML and screenshot of a webpage. Use when you need both DOM content and an image in one request with custom loading and capture settings.

Parámetros de entrada

  • urlstringuri

    Page URL to navigate to (must set url or html)

  • htmlstring

    Raw HTML to render instead of URL

  • cookiesobject[]

    List of cookies to set before navigation

  • cacheTTLinteger

    Cache TTL in seconds (0 disables caching, max 86400)

  • viewportobject

    Viewport dimensions and device emulation

  • userAgentstring

    Custom user agent string

  • account_idstringObligatorio

    Cloudflare account identifier

  • addStyleTagobject[]

    Styles to inject into the page

  • bestAttemptboolean

    Continue even if certain events fail

  • gotoOptionsobject

    Navigation settings before snapshot

  • addScriptTagobject[]

    Scripts to inject into the page

  • authenticateobject

    HTTP authentication credentials

  • actionTimeoutinteger

    Max time in ms for post-load actions

  • waitForTimeoutinteger

    Wait time in ms before proceeding

  • waitForSelectorobject

    Wait for an element before snapshot

  • emulateMediaTypestring

    Emulate CSS media type (e.g., 'print')

  • screenshotOptionsobject

    Options controlling screenshot capture

  • allowResourceTypesstring[]

    Allowed resource types

  • allowRequestPatternstring[]

    Regex patterns to allow requests

  • rejectResourceTypesstring[]

    Blocked resource types

  • setExtraHTTPHeadersobject

    Additional HTTP headers for navigation

  • rejectRequestPatternstring[]

    Regex patterns to block requests

  • setJavaScriptEnabledboolean

    Enable or disable JavaScript execution

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not