Browserless

Powerful browser automation built for developers

Go to site
Explore
/
Apps
/
Browserless

Browserless API Integrations

Build and run workflows using the Browserless API. Use 1000s of open source triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

Browserless allows you to build websites and applications that can be used without a web browser. This means that you can create apps that can be used offline, or that can be used on devices that don't have a web browser installed.

Some examples of things that you can build using Browserless are:

  • A website that can be used without a web browser
  • An app that can be used offline
  • A app that can be used on devices that don't have a web browser installed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import puppeteer from 'puppeteer-core@14.1.0';

export default defineComponent({
  props: {
    browserless: {
      type: "app",
      app: "browserless",
    }
  },
  async run({steps, $}) {
    // See the browserless docs for more info:
    // https://www.browserless.io/docs/
    const browser = await puppeteer.connect({ 
      browserWSEndpoint: `wss://chrome.browserless.io?token=${this.browserless.$auth.api_key}` 
    })
    const page = await browser.newPage()
    
    const url = "https://example.com"
    const type = "png"
  
    await page.goto(url)
    const screenshot = await page.screenshot()
    
    // export the base64-encoded screenshot for use in future steps,
    // along with the image type and filename
    $.export("screenshot", Buffer.from(screenshot, 'binary').toString('base64'))
    $.export("type", type)
    $.export("filename",`${url.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g, '_')}-${+new Date()}.${type}`)
    
    await browser.close()
  },
})
Take a Screenshot with Browserless API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Browserless
 
Try it
Take a Screenshot with Browserless API on New Item in Feed from RSS API
RSS + Browserless
 
Try it
Take a Screenshot with Browserless API on New Message from Discord API
Discord + Browserless
 
Try it
Take a Screenshot with Browserless API on New Message In Channels from Slack API
Slack + Browserless
 
Try it
Take a Screenshot with Browserless API on New Message in Channel from Discord Bot API
Discord Bot + Browserless
 
Try it
Generate PDF from HTML String with the Browserless API
 
Try it
Take a Screenshot with the Browserless API
 
Try it

Authentication

Browserless uses API keys for authentication. When you connect your Browserless account, Pipedream securely stores the keys so you can easily authenticate to Browserless APIs in both code and no-code steps.

Sign-up for a browserless account, it will create a unique token that allows service interaction.