Skip to content
Start here

Snapshot

Get HTML content and screenshot.
client.browserRendering.snapshot.create(SnapshotCreateParamsparams, RequestOptionsoptions?): SnapshotCreateResponse { accessibilityTree, content, markdown, screenshot }
POST/accounts/{account_id}/browser-rendering/snapshot
ModelsExpand Collapse
SnapshotCreateResponse { accessibilityTree, content, markdown, screenshot }
accessibilityTree?: AccessibilityTree { role, autocomplete, checked, 23 more }

Accessibility tree node

role: string
autocomplete?: string
checked?: boolean | "mixed"
One of the following:
boolean
"mixed"
children?: Array<unknown>
description?: string
disabled?: boolean
expanded?: boolean
focused?: boolean
haspopup?: string
invalid?: string
keyshortcuts?: string
level?: number
multiline?: boolean
multiselectable?: boolean
name?: string
orientation?: string
pressed?: boolean | "mixed"
One of the following:
boolean
"mixed"
readonly?: boolean
required?: boolean
roledescription?: string
selected?: boolean
value?: string | number
One of the following:
string
number
valuemax?: number
valuemin?: number
valuetext?: string
content?: string

HTML content.

markdown?: string

Markdown content.

screenshot?: string

Base64 encoded image.