← Tools Reference

Browserless

Browserless integration (Developer Tools, Data). Imported from open-connector.

API key3 toolshttps://production-sfo.browserless.io
POST
browserless_fetch_content
Fetch fully rendered HTML content from Browserless.

/content

11 parameters
ParamTypeRequiredDescription
urlstringoptionalThe public URL Browserless should navigate to.
htmlstringoptionalThe inline HTML Browserless should render instead of navigating to a URL.
bestAttemptbooleanoptionalWhether Browserless should continue when asynchronous wait steps fail or time o…
gotoOptionsobjectoptionalNavigation options forwarded to Browserless gotoOptions.
waitForEventobjectoptionalA Browserless waitForEvent configuration.
waitForTimeoutintegeroptionalThe fixed time in milliseconds Browserless should wait before returning.
waitForSelectorobjectoptionalA Browserless waitForSelector configuration.
rejectResourceTypesarrayoptionalThe browser resource types Browserless should block during navigation.
rejectRequestPatternarrayoptionalThe request URL patterns Browserless should block during navigation.
addScriptTagarrayoptionalThe scripts Browserless should inject before producing the final output.
addStyleTagarrayoptionalThe stylesheets Browserless should inject before producing the final output.
POST
browserless_take_screenshot
Generate a Browserless screenshot and store it in local transit storage.

/screenshot

12 parameters
ParamTypeRequiredDescription
urlstringoptionalThe public URL Browserless should capture.
htmlstringoptionalThe inline HTML Browserless should capture instead of navigating to a URL.
optionsobjectoptionalThe screenshot options forwarded to Browserless.
bestAttemptbooleanoptionalWhether Browserless should continue when asynchronous wait steps fail or time o…
gotoOptionsobjectoptionalNavigation options forwarded to Browserless gotoOptions.
waitForEventobjectoptionalA Browserless waitForEvent configuration.
waitForTimeoutintegeroptionalThe fixed time in milliseconds Browserless should wait before returning.
waitForSelectorobjectoptionalA Browserless waitForSelector configuration.
rejectResourceTypesarrayoptionalThe browser resource types Browserless should block during navigation.
rejectRequestPatternarrayoptionalThe request URL patterns Browserless should block during navigation.
addScriptTagarrayoptionalThe scripts Browserless should inject before producing the final output.
addStyleTagarrayoptionalThe stylesheets Browserless should inject before producing the final output.
POST
browserless_generate_pdf
Generate a Browserless PDF file and store it in local transit storage.

/pdf

12 parameters
ParamTypeRequiredDescription
urlstringoptionalThe public URL Browserless should render into a PDF.
htmlstringoptionalThe inline HTML Browserless should render into a PDF.
optionsobjectoptionalThe PDF options forwarded to Browserless.
bestAttemptbooleanoptionalWhether Browserless should continue when asynchronous wait steps fail or time o…
gotoOptionsobjectoptionalNavigation options forwarded to Browserless gotoOptions.
waitForEventobjectoptionalA Browserless waitForEvent configuration.
waitForTimeoutintegeroptionalThe fixed time in milliseconds Browserless should wait before returning.
waitForSelectorobjectoptionalA Browserless waitForSelector configuration.
rejectResourceTypesarrayoptionalThe browser resource types Browserless should block during navigation.
rejectRequestPatternarrayoptionalThe request URL patterns Browserless should block during navigation.
addScriptTagarrayoptionalThe scripts Browserless should inject before producing the final output.
addStyleTagarrayoptionalThe stylesheets Browserless should inject before producing the final output.