Capture Website Screenshots in Make.com

Make has no browser of its own, so a screenshot usually ends up as an HTTP call to some service with a key pasted into a header. The Website Screenshots module replaces that with a module that returns the image as a binary buffer the next module can use directly.

600 free requests / month, no credit card

Task
Website screenshot
Platform
Make.com
Modules
2
Output
PNG, binary buffer

// live preview

Build the capture here, paste it into Make

Add clicks or typing if the page needs them, then capture. The builder produces the same command list the Make module takes, so what works here works in the scenario.

// the workflow

Two modules, URL to image

Trigger
schedule, webhook or a spreadsheet of URLs
CustomJS
Website Screenshots

Add the Website Screenshots module to a scenario, map the URL, and connect whatever should receive the image. The module documentation has the field reference.

What the module receives

{
  "url": "{{1.url}}",
  "commands": [
    { "type": "click", "selector": "#accept-cookies" },
    { "type": "type", "selector": "#search", "value": "{{1.query}}" }
  ]
}

// step by step

Build it yourself

  1. 1

    Connect the CustomJS app in Make

    Add the module to a scenario and create a connection with the API key from your workspace. The getting started page walks through it once, and every later scenario reuses the connection.

  2. 2

    Add the Website Screenshots module

    Search for CustomJS in the module picker and choose Website Screenshots. Map the URL from the previous module.

  3. 3

    Deal with the cookie banner

    A banner covering the page is the usual reason a capture looks wrong. Add a click command on the accept button before the shot, and the banner is gone in the image.

  4. 4

    Select a region if you only need part of the page

    The visual builder lets you draw a bounding box and gives you the coordinates. Capturing a region rather than the whole page keeps the image small when the interesting part is one card on a long dashboard.

  5. 5

    Store or send the image

    The module returns a binary buffer, so Google Drive, Dropbox, Slack and the email modules take it directly. No intermediate download step is needed.

// interactions

Clicking and typing before the shot

The commands run in order against the loaded page, which is what makes a capture of a filtered view or a page behind a banner possible at all.

The command list

[
  { "type": "click", "selector": "button.cookie-accept" },
  { "type": "type",  "selector": "input[name=city]", "value": "Hamburg" },
  { "type": "click", "selector": "button[type=submit]" }
]

Choosing selectors that survive

// Fragile: breaks the next time the markup is touched
"#__next > div > div:nth-child(3) > button"

// Better: anchored on something the page means rather than how it is built
"button[data-testid='accept-all']"
"input[name='city']"

Build the list in the visual builder and paste it into the module rather than writing selectors by hand.

Questions about this template

Add a capture to your scenario

Create a workspace, connect the API key in Make, and add the Website Screenshots module.