Browserless
Learn how to use Browserless with Composio
Overview
Enum
BROWSERLESS
Description
Browserless is a service that provides headless browser automation, allowing users to run automations on their own sites with browser infrastructure.
Authentication Details
API_KEY
Actions
BROWSERLESS_DOWNLOAD_FILE
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.
Action Parameters
Action Response
BROWSERLESS_EXECUTE_CUSTOM_FUNCTION
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.
Action Parameters
Action Response
BROWSERLESS_FETCH_HTML_CONTENT
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.
Action Parameters
Action Response
BROWSERLESS_GENERATE_PDF
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.
Action Parameters
Action Response
BROWSERLESS_SCRAPE_CONTENT
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.
Action Parameters
Action Response
BROWSERLESS_TAKE_SCREENSHOT
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.
Action Parameters
Action Response
BROWSERLESS_UNBLOCK_PROTECTED_CONTENT
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.
Action Parameters
Action Response