Skip to content
Browserless

How to use Browserless

DevelopersCost: 1 credit + 3 per runTechnical reference

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

  1. 1Sign in to Browserless and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Browserless step, click "Connect" and paste it into: API Token, Region, Custom Base URL.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
API TokenSecret keyYes
RegionFixed listYes
Custom Base URLTextNo

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
FieldTypeRequired
URLTextYes
Image TypeFixed listNo
QualityNumberNo
Full PageYes / NoNo
Viewport WidthNumberNo
Viewport HeightNumberNo
Wait for SelectorTextNo
Delay (ms)NumberNo
Omit BackgroundYes / NoNo
Clip X PositionNumberNo
Clip Y PositionNumberNo
Clip WidthNumberNo
Clip HeightNumberNo
Generate PDF31 fields
FieldTypeRequired
URLTextNo
HTML ContentLong textNo
Paper FormatFixed listNo
LandscapeYes / NoNo
Print BackgroundYes / NoNo
Top MarginTextNo
Right MarginTextNo
Bottom MarginTextNo
Left MarginTextNo
Header TemplateLong textNo
Footer TemplateLong textNo
Display Header/FooterYes / NoNo
ScaleNumberNo
Wait for SelectorTextNo
Wait for Selector TimeoutNumberNo
Wait for Selector VisibleYes / NoNo
Wait for Selector HiddenYes / NoNo
Prefer CSS Page SizeYes / NoNo
Page RangesTextNo
Custom WidthTextNo
Custom HeightTextNo
Omit BackgroundYes / NoNo
Tagged PDFYes / NoNo
Generate OutlineYes / NoNo
Timeout (ms)NumberNo
Wait for FunctionLong textNo
Wait for Function PollingTextNo
Wait for Function TimeoutNumberNo
User AgentTextNo
Wait Timeout (ms)NumberNo
Best AttemptYes / NoNo
Scrape URL20 fields
FieldTypeRequired
URLTextYes
Elements to ExtractList of valuesYes
Wait for SelectorTextNo
Wait for Selector TimeoutNumberNo
Wait for Selector VisibleYes / NoNo
Wait for Selector HiddenYes / NoNo
Wait Timeout (ms)NumberNo
Wait for EventTextNo
Wait for Event TimeoutNumberNo
Debug ConsoleYes / NoNo
Debug CookiesYes / NoNo
Debug NetworkYes / NoNo
Best AttemptYes / NoNo
User AgentTextNo
CookiesList of valuesNo
Timeout (ms)NumberNo
Wait UntilFixed listNo
Wait for FunctionLong textNo
Viewport WidthNumberNo
Viewport HeightNumberNo
Run BQL Query19 fields
FieldTypeRequired
BQL QueryLong textYes
Query VariablesKey / value pairsNo
Operation NameTextNo
Timeout (ms)NumberNo
Stealth ModeYes / NoNo
Headless ModeYes / NoNo
Human-like BehaviorYes / NoNo
Proxy TypeFixed listNo
Proxy CountryTextNo
Sticky ProxyYes / NoNo
Block AdsYes / NoNo
Block Consent ModalsYes / NoNo
Record SessionYes / NoNo
Slow Motion (ms)NumberNo
Ignore HTTPS ErrorsYes / NoNo
User AgentTextNo
Viewport WidthNumberNo
Viewport HeightNumberNo
CookiesList of valuesNo
Get Website Performance14 fields
FieldTypeRequired
URLTextYes
Performance CategoriesList of valuesNo
Device TypeFixed listNo
Network ThrottlingFixed listNo
Only Category ScoresYes / NoNo
LocaleTextNo
User AgentTextNo
Timeout (ms)NumberNo
Wait for SelectorTextNo
Emulate Media TypeFixed listNo
Performance BudgetsList of valuesNo
Stealth ModeYes / NoNo
Block AdsYes / NoNo
Include Full ReportYes / NoNo
Get Page Content10 fields
FieldTypeRequired
URLTextYes
Wait UntilFixed listNo
Page Load Timeout (ms)NumberNo
Wait for SelectorTextNo
Extra Wait (ms)NumberNo
Skip Resource TypesMulti-selectNo
Best AttemptYes / NoNo
Block AdsYes / NoNo
Maximum CharactersNumberNo
Timeout (ms)NumberNo
Smart Scrape9 fields
FieldTypeRequired
URLTextYes
FormatsMulti-selectNo
Only Main ContentYes / NoNo
Keep Only These SelectorsList of valuesNo
Remove These SelectorsList of valuesNo
Extra Wait (ms)NumberNo
ProxyFixed listNo
Maximum CharactersNumberNo
Timeout (ms)NumberNo
Search the Web13 fields
FieldTypeRequired
Search QueryTextYes
SourcesMulti-selectNo
Results per SourceNumberNo
Time RangeFixed listNo
CategoriesMulti-selectNo
LanguageTextNo
CountryTextNo
LocationTextNo
Read Result Pages AsMulti-selectNo
Only Main ContentYes / NoNo
ProxyFixed listNo
Maximum CharactersNumberNo
Timeout (ms)NumberNo
Map Website URLs8 fields
FieldTypeRequired
URLTextYes
Search TermTextNo
Maximum URLsNumberNo
SitemapFixed listNo
Include SubdomainsYes / NoNo
Ignore Query ParametersYes / NoNo
ProxyFixed listNo
Timeout (ms)NumberNo
Start Crawl11 fields
FieldTypeRequired
URLTextYes
Maximum PagesNumberNo
Maximum Link DepthNumberNo
Only Paths MatchingList of valuesNo
Skip Paths MatchingList of valuesNo
Follow SubdomainsYes / NoNo
Follow External LinksYes / NoNo
SitemapFixed listNo
Page FormatsMulti-selectNo
Only Main ContentYes / NoNo
ProxyFixed listNo
Get Crawl Results2 fields
FieldTypeRequired
Crawl IDTextYes
SkipNumberNo
List Crawls3 fields
FieldTypeRequired
StatusFixed listNo
LimitNumberNo
CursorTextNo
Cancel Crawl1 fields
FieldTypeRequired
Crawl IDTextYes
Unblock Page14 fields
FieldTypeRequired
URLTextYes
Return HTMLYes / NoNo
Return CookiesYes / NoNo
Return ScreenshotYes / NoNo
Solve CAPTCHAsYes / NoNo
ProxyFixed listNo
Proxy CountryTextNo
Wait UntilFixed listNo
Page Load Timeout (ms)NumberNo
Wait for SelectorTextNo
Extra Wait (ms)NumberNo
Best AttemptYes / NoNo
Maximum CharactersNumberNo
Timeout (ms)NumberNo
Run Puppeteer Function3 fields
FieldTypeRequired
CodeLong textYes
ContextKey / value pairsNo
Timeout (ms)NumberNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

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