Skip to main content

Setting HTML content

You can set the HTML content of the page to render dynamically generated content.

mutation Screenshot {
content(html: "<h1>Hello, World!</h1>") {
status
}

screenshot(type: webp) {
base64
}
}
BQL Schemas

For more details on BQL mutations, refer to the BrowserQL Schema reference pages.

Rest API

Taking Screenshots can also be done with Browserless Rest API. For endpoint details, parameters, and code samples, see the Browserless REST API.