Wait for the page
wait_delay is a Go duration (2s, 500ms), max 30s. wait_for_selector waits until a matching element exists. wait_for_expression waits until a JavaScript expression is truthy (async expressions that return a Promise are awaited). wait_for_network_idle: true waits until Chromium reports zero connections for 500ms ā skip it on pages that keep a websocket open.
502 render_failed.
Headers and cookies
Do not putCookie in extra_http_headers. Use cookies (name, value, and domain are required). Hop-by-hop header names are rejected.
HTTP Basic auth
auth cannot be combined with extra_http_headers.Authorization.
Fail on HTTP status
raise_for_status: true fails the render on 3xx/4xx/5xx of the main URL. false allows error pages. Omit to keep the default (fail on 4xx/5xx).
emulate_media is print (default) or screen.