Skip to main content

Navigation Options

BQL makes it easy to navigate websites and interact with them. Whether you're capturing screenshots, generating PDFs, or handling other automation tasks, you can use the following navigation options to change BQL's behavior.

note

The examples in this section will show you how to use the pdf and screenshot mutations.

On this collection we’ll look at:

Basic Usage

mutation PDF {
goto(url: "https://example.com") {
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.