Skip to main content

Default navigation behavior

You can use the goto mutation to modify the default navigation behavior for the requested URL.

mutation PDF {
goto(url: "https://browserless.io/" waitUntil: networkIdle) {
status
}

pdf(displayHeaderFooter: true, printBackground: false, format: a0) {
base64
}
}
BQL Schemas

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

Rest API

Generating PDFs and Taking Screenshots can also be done with Browserless Rest API.