Skip to main content
Either page.url, page.html or page.htmlTemplate needs to be set, they cannot be used at the same time!
url
string | null
html
string | null
htmlTemplate
string | null
templateData
object | null
waitUntil
enum<string>
default:auto
Available options:
auto,
load,
domcontentloaded,
networkidle0,
networkidle2
Example:
waitForMilliseconds
number | null
Required range: 0 <= x <= 5000
waitForSelector
object
waitForFunction
object
headers
object | null
Example:
adblock
boolean
default:true
Example:
javascript
boolean
default:true
Example:
cookies
object[] | null
authentication
object
colorScheme
string | null
Maximum length: 20
mediaType
enum<string> | null
Available options:
screen,
print
timezone
string | null