Browserless
browserlessBrowserless is a service that provides headless browser automation, allowing users to run automations on their own sites with browser infrastructure.
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ónThis 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.
BROWSERLESS_DOWNLOAD_FILEAcciónThis 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
codestringObligatorioThe Puppeteer script to execute for downloading the file. This should be a valid JavaScript code that triggers a file download.
contextobjectAdditional context data to be passed to the script
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Execute Custom FunctionBROWSERLESS_EXECUTE_CUSTOM_FUNCTIONAcciónA tool that allows executing custom puppeteer scripts via http requests. this endpoint enables users to run browser automation tasks without managing their own infrastructure.
BROWSERLESS_EXECUTE_CUSTOM_FUNCTIONAcciónA 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
codestringObligatorioThe Puppeteer function code to execute. Must be a valid ESM module with a default export function.
contextobjectOptional context object to pass to the function
Parámetros de salida
dataobjectObligatorioThe data returned by the executed function
typestringObligatorioThe content type of the returned data
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fetch HTML ContentBROWSERLESS_FETCH_HTML_CONTENTAcciónThis 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.
BROWSERLESS_FETCH_HTML_CONTENTAcciónThis 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
urlstringObligatorioThe URL of the webpage to fetch HTML content from
best_attemptbooleanWhether to continue on error
goto_optionsobjectNavigation options like waitUntil
wait_for_eventobjectWait for specific event with optional timeout
wait_for_timeoutintegerWait for specific time in milliseconds
wait_for_selectorobjectWait 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
datastringObligatorioThe complete HTML content of the webpage
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate PDF from webpageBROWSERLESS_GENERATE_PDFAcciónThis 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.
BROWSERLESS_GENERATE_PDFAcciónThis 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
urlstringURL of the webpage to generate PDF from
htmlstringHTML content to generate PDF from
optionsobjectPDF generation options based on Puppeteer's PDFOptions.
addStyleTagobject[]Custom style tags to inject
bestAttemptbooleanContinue on error
gotoOptionsobjectNavigation options for page loading.
addScriptTagobject[]Custom script tags to inject
waitForSelectorobjectOptions for waiting for a selector to appear.
rejectResourceTypesstring[]Resource types to block
rejectRequestPatternstring[]Request patterns to block
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Scrape webpage content using CSS selectorsBROWSERLESS_SCRAPE_CONTENTAcciónA 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.
BROWSERLESS_SCRAPE_CONTENTAcciónA 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
urlstringObligatorioThe URL to scrape content from
elementsobject[]ObligatorioArray of objects containing CSS selectors to extract
gotoOptionsobjectOptions for page navigation
waitForEventobjectWait for a specific event to occur
waitForTimeoutintegerWait specified milliseconds before scraping
waitForFunctionobjectWait for a custom JavaScript function to return true
waitForSelectorobjectWait for a specific selector to appear
Parámetros de salida
dataobject[]ObligatorioArray of results for each selector
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Take ScreenshotBROWSERLESS_TAKE_SCREENSHOTAcciónA 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.
BROWSERLESS_TAKE_SCREENSHOTAcciónA 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
urlstringObligatorioThe URL of the webpage to capture
clip_xintegerX coordinate for clipping the screenshot
clip_yintegerY coordinate for clipping the screenshot
qualityintegerThe quality of the image (0-100, only applies to jpeg)
full_pagebooleanWhether to capture the full page or just the viewport
clip_widthintegerWidth of the clipping area
image_typestringThe type of image to return (png or jpeg)
clip_heightintegerHeight of the clipping area
omit_backgroundbooleanWhether to omit the background in the screenshot
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unblock Protected ContentBROWSERLESS_UNBLOCK_PROTECTED_CONTENTAcciónThis 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.
BROWSERLESS_UNBLOCK_PROTECTED_CONTENTAcciónThis 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
ttlintegerTime to live for the browser instance in milliseconds
urlstringObligatorioThe URL of the protected webpage to access
contentbooleanWhether to return the HTML content of the page
cookiesbooleanWhether to return cookies from the page
screenshotbooleanWhether to return a screenshot of the page
waitForEventobjectEvent to wait for before returning the response
waitForFunctionobjectFunction to execute and wait for before returning the response
waitForSelectorobjectSelector to wait for before returning the response
browserWSEndpointbooleanWhether to return a WebSocket endpoint for browser automation
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not