What it is for
Browserless is a headless browser automation tool that allows you to scrape websites, take screenshots, and more.
Browserless has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to Browserless and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a Browserless step, click "Connect" and paste it into: API Token, Region, Custom Base URL.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| API Token | Secret key | Yes |
| Region | Fixed list | Yes |
| Custom Base URL | Text | No |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Capture Screenshot: fill in URL; use the data selector to map values from earlier steps.
- Generate PDF: no required fields; use the data selector to map values from earlier steps.
- Scrape URL: fill in URL, Elements to Extract; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Actions (16)
Operations available as flow steps. Expand each one to see its fields.
Capture Screenshot13 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Image Type | Fixed list | No |
| Quality | Number | No |
| Full Page | Yes / No | No |
| Viewport Width | Number | No |
| Viewport Height | Number | No |
| Wait for Selector | Text | No |
| Delay (ms) | Number | No |
| Omit Background | Yes / No | No |
| Clip X Position | Number | No |
| Clip Y Position | Number | No |
| Clip Width | Number | No |
| Clip Height | Number | No |
Generate PDF31 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | No |
| HTML Content | Long text | No |
| Paper Format | Fixed list | No |
| Landscape | Yes / No | No |
| Print Background | Yes / No | No |
| Top Margin | Text | No |
| Right Margin | Text | No |
| Bottom Margin | Text | No |
| Left Margin | Text | No |
| Header Template | Long text | No |
| Footer Template | Long text | No |
| Display Header/Footer | Yes / No | No |
| Scale | Number | No |
| Wait for Selector | Text | No |
| Wait for Selector Timeout | Number | No |
| Wait for Selector Visible | Yes / No | No |
| Wait for Selector Hidden | Yes / No | No |
| Prefer CSS Page Size | Yes / No | No |
| Page Ranges | Text | No |
| Custom Width | Text | No |
| Custom Height | Text | No |
| Omit Background | Yes / No | No |
| Tagged PDF | Yes / No | No |
| Generate Outline | Yes / No | No |
| Timeout (ms) | Number | No |
| Wait for Function | Long text | No |
| Wait for Function Polling | Text | No |
| Wait for Function Timeout | Number | No |
| User Agent | Text | No |
| Wait Timeout (ms) | Number | No |
| Best Attempt | Yes / No | No |
Scrape URL20 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Elements to Extract | List of values | Yes |
| Wait for Selector | Text | No |
| Wait for Selector Timeout | Number | No |
| Wait for Selector Visible | Yes / No | No |
| Wait for Selector Hidden | Yes / No | No |
| Wait Timeout (ms) | Number | No |
| Wait for Event | Text | No |
| Wait for Event Timeout | Number | No |
| Debug Console | Yes / No | No |
| Debug Cookies | Yes / No | No |
| Debug Network | Yes / No | No |
| Best Attempt | Yes / No | No |
| User Agent | Text | No |
| Cookies | List of values | No |
| Timeout (ms) | Number | No |
| Wait Until | Fixed list | No |
| Wait for Function | Long text | No |
| Viewport Width | Number | No |
| Viewport Height | Number | No |
Run BQL Query19 fields
| Field | Type | Required |
|---|---|---|
| BQL Query | Long text | Yes |
| Query Variables | Key / value pairs | No |
| Operation Name | Text | No |
| Timeout (ms) | Number | No |
| Stealth Mode | Yes / No | No |
| Headless Mode | Yes / No | No |
| Human-like Behavior | Yes / No | No |
| Proxy Type | Fixed list | No |
| Proxy Country | Text | No |
| Sticky Proxy | Yes / No | No |
| Block Ads | Yes / No | No |
| Block Consent Modals | Yes / No | No |
| Record Session | Yes / No | No |
| Slow Motion (ms) | Number | No |
| Ignore HTTPS Errors | Yes / No | No |
| User Agent | Text | No |
| Viewport Width | Number | No |
| Viewport Height | Number | No |
| Cookies | List of values | No |
Get Website Performance14 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Performance Categories | List of values | No |
| Device Type | Fixed list | No |
| Network Throttling | Fixed list | No |
| Only Category Scores | Yes / No | No |
| Locale | Text | No |
| User Agent | Text | No |
| Timeout (ms) | Number | No |
| Wait for Selector | Text | No |
| Emulate Media Type | Fixed list | No |
| Performance Budgets | List of values | No |
| Stealth Mode | Yes / No | No |
| Block Ads | Yes / No | No |
| Include Full Report | Yes / No | No |
Get Page Content10 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Wait Until | Fixed list | No |
| Page Load Timeout (ms) | Number | No |
| Wait for Selector | Text | No |
| Extra Wait (ms) | Number | No |
| Skip Resource Types | Multi-select | No |
| Best Attempt | Yes / No | No |
| Block Ads | Yes / No | No |
| Maximum Characters | Number | No |
| Timeout (ms) | Number | No |
Smart Scrape9 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Formats | Multi-select | No |
| Only Main Content | Yes / No | No |
| Keep Only These Selectors | List of values | No |
| Remove These Selectors | List of values | No |
| Extra Wait (ms) | Number | No |
| Proxy | Fixed list | No |
| Maximum Characters | Number | No |
| Timeout (ms) | Number | No |
Search the Web13 fields
| Field | Type | Required |
|---|---|---|
| Search Query | Text | Yes |
| Sources | Multi-select | No |
| Results per Source | Number | No |
| Time Range | Fixed list | No |
| Categories | Multi-select | No |
| Language | Text | No |
| Country | Text | No |
| Location | Text | No |
| Read Result Pages As | Multi-select | No |
| Only Main Content | Yes / No | No |
| Proxy | Fixed list | No |
| Maximum Characters | Number | No |
| Timeout (ms) | Number | No |
Map Website URLs8 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Search Term | Text | No |
| Maximum URLs | Number | No |
| Sitemap | Fixed list | No |
| Include Subdomains | Yes / No | No |
| Ignore Query Parameters | Yes / No | No |
| Proxy | Fixed list | No |
| Timeout (ms) | Number | No |
Start Crawl11 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Maximum Pages | Number | No |
| Maximum Link Depth | Number | No |
| Only Paths Matching | List of values | No |
| Skip Paths Matching | List of values | No |
| Follow Subdomains | Yes / No | No |
| Follow External Links | Yes / No | No |
| Sitemap | Fixed list | No |
| Page Formats | Multi-select | No |
| Only Main Content | Yes / No | No |
| Proxy | Fixed list | No |
Get Crawl Results2 fields
| Field | Type | Required |
|---|---|---|
| Crawl ID | Text | Yes |
| Skip | Number | No |
List Crawls3 fields
| Field | Type | Required |
|---|---|---|
| Status | Fixed list | No |
| Limit | Number | No |
| Cursor | Text | No |
Cancel Crawl1 fields
| Field | Type | Required |
|---|---|---|
| Crawl ID | Text | Yes |
Unblock Page14 fields
| Field | Type | Required |
|---|---|---|
| URL | Text | Yes |
| Return HTML | Yes / No | No |
| Return Cookies | Yes / No | No |
| Return Screenshot | Yes / No | No |
| Solve CAPTCHAs | Yes / No | No |
| Proxy | Fixed list | No |
| Proxy Country | Text | No |
| Wait Until | Fixed list | No |
| Page Load Timeout (ms) | Number | No |
| Wait for Selector | Text | No |
| Extra Wait (ms) | Number | No |
| Best Attempt | Yes / No | No |
| Maximum Characters | Number | No |
| Timeout (ms) | Number | No |
Run Puppeteer Function3 fields
| Field | Type | Required |
|---|---|---|
| Code | Long text | Yes |
| Context | Key / value pairs | No |
| Timeout (ms) | Number | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
