Browser Rendering

Browser RenderingContent

Get HTML content.

POST/accounts/{account_id}/browser-rendering/content

ModelsExpand Collapse

ContentCreateResponse = string

HTML content.

Link to this property

Browser RenderingPDF

Get PDF.

POST/accounts/{account_id}/browser-rendering/pdf

Browser RenderingScrape

Scrape elements.

POST/accounts/{account_id}/browser-rendering/scrape

ModelsExpand Collapse

<details>

<summary>

ScrapeCreateResponse = array of object {results, selector }

</summary>

<details>

<summary>

results: object {attributes, height, html, 4 more }

</summary>

<details>

<summary>

attributes: array of object {name, value }

</summary>

name: string

Attribute name.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20attributes%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

value: string

Attribute value.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20attributes%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20attributes">Link to this property</a>

height: number

Element height.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20height">Link to this property</a>

html: string

HTML content.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20html">Link to this property</a>

left: number

Element left.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20left">Link to this property</a>

text: string

Text content.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20text">Link to this property</a>

top: number

Element top.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20top">Link to this property</a>

width: number

Element width.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results%20%3E%20(property)%20width">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20results">Link to this property</a>

selector: string

Selector.

<a href="#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20selector">Link to this property</a>

</details>

Link to this property

Browser RenderingScreenshot

Get screenshot.

POST/accounts/{account_id}/browser-rendering/screenshot

ModelsExpand Collapse

<details>

<summary>

ScreenshotCreateResponse object {success, errors }

</summary>

success: boolean

Response status.

<a href="#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

<details>

<summary>

errors: optional array of object {code, message }

</summary>

code: number

Error code.

<a href="#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

message: string

Error message.

<a href="#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)%20%3E%20(property)%20errors">Link to this property</a>

</details>

Link to this property

Browser RenderingSnapshot

Get HTML content and screenshot.

POST/accounts/{account_id}/browser-rendering/snapshot

ModelsExpand Collapse

<details>

<summary>

SnapshotCreateResponse object {accessibilityTree, content, markdown, screenshot }

</summary>

<details>

<summary>

accessibilityTree: optional object {role, autocomplete, checked, 23 more }

Accessibility tree node

</summary>

role: string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20role">Link to this property</a>

autocomplete: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20autocomplete">Link to this property</a>

<details>

<summary>

checked: optional booleanor "mixed"

</summary>

One of the following:

boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20checked%20%3E%20(variant)%200">Link to this property</a>

"mixed"

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20checked%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20checked">Link to this property</a>

children: optional array of unknown

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20children">Link to this property</a>

description: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20description">Link to this property</a>

disabled: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20disabled">Link to this property</a>

expanded: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20expanded">Link to this property</a>

focused: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20focused">Link to this property</a>

haspopup: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20haspopup">Link to this property</a>

invalid: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20invalid">Link to this property</a>

keyshortcuts: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20keyshortcuts">Link to this property</a>

level: optional number

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20level">Link to this property</a>

modal: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20modal">Link to this property</a>

multiline: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20multiline">Link to this property</a>

multiselectable: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20multiselectable">Link to this property</a>

name: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20name">Link to this property</a>

orientation: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20orientation">Link to this property</a>

<details>

<summary>

pressed: optional booleanor "mixed"

</summary>

One of the following:

boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20pressed%20%3E%20(variant)%200">Link to this property</a>

"mixed"

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20pressed%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20pressed">Link to this property</a>

readonly: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20readonly">Link to this property</a>

required: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20required">Link to this property</a>

roledescription: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20roledescription">Link to this property</a>

selected: optional boolean

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20selected">Link to this property</a>

<details>

<summary>

value: optional stringor number

</summary>

One of the following:

string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20value%20%3E%20(variant)%200">Link to this property</a>

number

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20value%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20value">Link to this property</a>

valuemax: optional number

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20valuemax">Link to this property</a>

valuemin: optional number

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20valuemin">Link to this property</a>

valuetext: optional string

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20valuetext">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree">Link to this property</a>

content: optional string

HTML content.

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20content">Link to this property</a>

markdown: optional string

Markdown content. Prefixed with YAML frontmatter (e.g. <code>title</code>) when the page provides that metadata.

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20markdown">Link to this property</a>

screenshot: optional string

Base64 encoded image.

<a href="#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)%20%3E%20(property)%20screenshot">Link to this property</a>

</details>

Link to this property

Browser RenderingJson

Get json.

POST/accounts/{account_id}/browser-rendering/json

ModelsExpand Collapse

JsonCreateResponse = map[unknown]

Link to this property

POST/accounts/{account_id}/browser-rendering/links

ModelsExpand Collapse

LinkCreateResponse = array of string

Link to this property

Browser RenderingMarkdown

Get markdown.

POST/accounts/{account_id}/browser-rendering/markdown

ModelsExpand Collapse

MarkdownCreateResponse = string

Markdown content. Prefixed with YAML frontmatter (e.g. title) when the page provides that metadata.

Link to this property

Browser RenderingAccessibility Tree

Get accessibility tree page

POST/accounts/{account_id}/browser-rendering/accessibilityTree

ModelsExpand Collapse

<details>

<summary>

AccessibilityTreeCreateResponse object {accessibilityTree }

</summary>

<details>

<summary>

accessibilityTree: object {role, autocomplete, checked, 23 more }

Accessibility tree node

</summary>

role: string