NAiOS IconNAiOS Logo
Volver al catálogo

Browserless

browserless

Browserless is a service that provides headless browser automation, allowing users to run automations on their own sites with browser infrastructure.

Acciones
7
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 (7)

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.

Download file using Puppeteer scriptBROWSERLESS_DOWNLOAD_FILEAcción

This tool allows downloading files that chrome has downloaded during the execution of puppeteer code. it sets up a blank page, creates a fresh download directory, injects the provided code, and executes it. once the script finishes, any downloaded files from chromium are returned with the appropriate content-type header.

Parámetros de entrada

  • codestringObligatorio

    The Puppeteer script to execute for downloading the file. This should be a valid JavaScript code that triggers a file download.

  • contextobject

    Additional context data to be passed to the script

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

Execute Custom FunctionBROWSERLESS_EXECUTE_CUSTOM_FUNCTIONAcción

A tool that allows executing custom puppeteer scripts via http requests. this endpoint enables users to run browser automation tasks without managing their own infrastructure.

Parámetros de entrada

  • codestringObligatorio

    The Puppeteer function code to execute. Must be a valid ESM module with a default export function.

  • contextobject

    Optional context object to pass to the function

Parámetros de salida

  • dataobjectObligatorio

    The data returned by the executed function

  • typestringObligatorio

    The content type of the returned data

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch HTML ContentBROWSERLESS_FETCH_HTML_CONTENTAcción

This tool fetches the complete html content of a webpage using browserless's content api. it's designed to retrieve the full html contents of any website, including dynamically generated content.

Parámetros de entrada

  • urlstringObligatorio

    The URL of the webpage to fetch HTML content from

  • best_attemptboolean

    Whether to continue on error

  • goto_optionsobject

    Navigation options like waitUntil

  • wait_for_eventobject

    Wait for specific event with optional timeout

  • wait_for_timeoutinteger

    Wait for specific time in milliseconds

  • wait_for_selectorobject

    Wait for specific element with optional timeout

  • reject_resource_typesstring[]

    Types of resources to block (e.g., images, stylesheets)

  • reject_request_patternstring[]

    Patterns to block specific requests

Parámetros de salida

  • datastringObligatorio

    The complete HTML content of the webpage

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate PDF from webpageBROWSERLESS_GENERATE_PDFAcción

This tool generates a pdf from a specified webpage using browserless's pdf generation api. it allows specifying the url of the webpage along with parameters such as format, filename, and waituntil options to control the pdf generation process.

Parámetros de entrada

  • urlstring

    URL of the webpage to generate PDF from

  • htmlstring

    HTML content to generate PDF from

  • optionsobject

    PDF generation options based on Puppeteer's PDFOptions.

  • addStyleTagobject[]

    Custom style tags to inject

  • bestAttemptboolean

    Continue on error

  • gotoOptionsobject

    Navigation options for page loading.

  • addScriptTagobject[]

    Custom script tags to inject

  • waitForSelectorobject

    Options for waiting for a selector to appear.

  • rejectResourceTypesstring[]

    Resource types to block

  • rejectRequestPatternstring[]

    Request patterns to block

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 webpage content using CSS selectorsBROWSERLESS_SCRAPE_CONTENTAcción

A tool to extract structured content from a webpage by specifying css selectors. the tool navigates to the specified url, waits for the page to load (including parsing and executing javascript), and returns the selected elements in a structured json format.

Parámetros de entrada

  • urlstringObligatorio

    The URL to scrape content from

  • elementsobject[]Obligatorio

    Array of objects containing CSS selectors to extract

  • gotoOptionsobject

    Options for page navigation

  • waitForEventobject

    Wait for a specific event to occur

  • waitForTimeoutinteger

    Wait specified milliseconds before scraping

  • waitForFunctionobject

    Wait for a custom JavaScript function to return true

  • waitForSelectorobject

    Wait for a specific selector to appear

Parámetros de salida

  • dataobject[]Obligatorio

    Array of results for each selector

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Take ScreenshotBROWSERLESS_TAKE_SCREENSHOTAcción

A tool that captures a screenshot of a webpage using browserless's screenshot api. the tool takes a url and returns either a png or jpeg image. it includes options for full page capture, image type, quality, and clipping coordinates.

Parámetros de entrada

  • urlstringObligatorio

    The URL of the webpage to capture

  • clip_xinteger

    X coordinate for clipping the screenshot

  • clip_yinteger

    Y coordinate for clipping the screenshot

  • qualityinteger

    The quality of the image (0-100, only applies to jpeg)

  • full_pageboolean

    Whether to capture the full page or just the viewport

  • clip_widthinteger

    Width of the clipping area

  • image_typestring

    The type of image to return (png or jpeg)

  • clip_heightinteger

    Height of the clipping area

  • omit_backgroundboolean

    Whether to omit the background in the screenshot

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

Unblock Protected ContentBROWSERLESS_UNBLOCK_PROTECTED_CONTENTAcción

This tool provides access to content from websites that implement bot protection mechanisms. it is designed to bypass various types of protection (such as captcha and bot detections) and return the html content of the protected webpage, with optional customization through parameters like waitfor, timeout, and stealth mode.

Parámetros de entrada

  • ttlinteger

    Time to live for the browser instance in milliseconds

  • urlstringObligatorio

    The URL of the protected webpage to access

  • contentboolean

    Whether to return the HTML content of the page

  • cookiesboolean

    Whether to return cookies from the page

  • screenshotboolean

    Whether to return a screenshot of the page

  • waitForEventobject

    Event to wait for before returning the response

  • waitForFunctionobject

    Function to execute and wait for before returning the response

  • waitForSelectorobject

    Selector to wait for before returning the response

  • browserWSEndpointboolean

    Whether to return a WebSocket endpoint for browser automation

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