Skip to content

Browserless

IDbrowserless
CategoryBrowser
FeaturesNone
DependenciesNone (session_storage used opportunistically for CDP sessions)

Cloud browser automation powered by Browserless. Take screenshots, read DOM content, scrape structured data, and interact with web pages using click, type, keyboard, mouse, and touch events.

Open a persistent browser session via CDP. The browser stays alive between tool calls.

ParameterTypeRequiredDescription
urlstringnoInitial URL to navigate to
timeout_msintegernoHow long the browser stays alive between calls (default: 60000)

Close the persistent browser session and release resources.

No parameters.

Navigate to a URL and return page metadata (title, links, headings, meta tags).

ParameterTypeRequiredDescription
urlstringyesThe URL to navigate to
wait_for_selectorstringnoWait for this CSS selector to appear
wait_for_timeoutintegernoWait this many milliseconds after page load

Take a PNG screenshot of a page. Returns base64-encoded image data.

ParameterTypeRequiredDescription
urlstringyesThe URL to screenshot
full_pagebooleannoCapture the full scrollable page (default: true)
selectorstringnoCSS selector to screenshot a specific element
wait_for_selectorstringnoWait for this CSS selector before taking screenshot
wait_for_timeoutintegernoWait this many milliseconds before taking screenshot

Get the fully rendered HTML content (DOM) of a page, including JavaScript-rendered content.

ParameterTypeRequiredDescription
urlstringyesThe URL to read
wait_for_selectorstringnoWait for this CSS selector before reading content
wait_for_timeoutintegernoWait this many milliseconds before reading content
best_attemptbooleannoContinue even if async events fail or timeout (default: false)

Extract structured data from a page using CSS selectors. Returns JSON with matched elements.

ParameterTypeRequiredDescription
urlstringyesThe URL to scrape
elementsarrayyesArray of {selector} objects to extract
wait_for_selectorstringnoWait for this CSS selector before scraping
wait_for_timeoutintegernoWait this many milliseconds before scraping

Multi-step browser interactions. Navigate to a URL, then perform a sequence of actions.

ParameterTypeRequiredDescription
urlstringyesThe initial URL to navigate to
stepsarrayyesOrdered list of interaction steps
return_screenshotbooleannoReturn screenshot after steps (default: false = DOM content)

Supported step actions:

ActionKey ParametersDescription
clickselector or x,yClick element or coordinates
typeselector, valueType text into input field
keyboardkeyPress a key (Enter, Tab, Escape, etc.)
mouse_movex, yMove mouse to coordinates
touchselectorTap element (mobile touch simulation)
scrollvalueScroll page by pixel amount
waitwait_msWait for milliseconds
wait_for_selectorselector, wait_msWait for element to appear
navigatevalueNavigate to a different URL

Browserless API token is resolved automatically from Settings > Connections > Browserless.

  • Accessibility testing — read DOM, check ARIA attributes and heading structure
  • Regression testing — screenshot pages and compare visual state
  • Login-protected testing — use CDP sessions to authenticate and browse
  • Web scraping — extract structured data from any website
  • Visual QA — screenshot before/after interactions
  • Stateless mode: each tool call uses a fresh browser (no cleanup needed)
  • CDP mode: browser persists across calls (close when done)
  • Large DOM responses are truncated to 100KB
  • Session-aware: tools automatically use CDP session when active, REST otherwise
  • browserless_scrape always uses REST API (no CDP equivalent)