API Documentation
Page options
All the available page options for the PDF/screenshot API endpoints.
HTML template to render, uses Handlebars to render your HTML together with the provided templateData. Needs to be base64 encoded!
When to consider waiting succeeds.
autoour smart waiting option that can handle 90% of the cases.loadwaits for the 'load' event.domcontentloadedwaits for the 'DOMContentLoaded' event.networkidle0waits till there are no more than 0 network connections for at least500ms.networkidle2waits till there are no more than 2 network connections for at least500ms.
Available options:
auto, load, domcontentloaded, networkidle0, networkidle2 Example:
"auto"
Changes the timezone of the page. See ICU’s metaZones.txt for a list of supported timezone IDs.