---
title: Browser Rendering
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Browser Rendering

#### Browser RenderingContent

##### [Get HTML content.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/content/methods/create)

client.browserRendering.content.create(ContentCreateParamsparams, RequestOptionsoptions?): [ContentCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.content%20%3E%20(model)%20content_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/browser-rendering/content

##### ModelsExpand Collapse

ContentCreateResponse = string

HTML content.

[Link to this property](<#(resource)%20browser_rendering.content%20%3E%20(model)%20content_create_response%20%3E%20(schema)>)

#### Browser RenderingPDF

##### [Get PDF.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/pdf/methods/create)

client.browserRendering.pdf.create(PDFCreateParamsparams, RequestOptionsoptions?): Response

POST/accounts/{account\_id}/browser-rendering/pdf

#### Browser RenderingScrape

##### [Scrape elements.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/scrape/methods/create)

client.browserRendering.scrape.create(ScrapeCreateParamsparams, RequestOptionsoptions?): [ScrapeCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)>) {results, selector }

POST/accounts/{account\_id}/browser-rendering/scrape

##### ModelsExpand Collapse

<details>

<summary>

ScrapeCreateResponse = Array&lt;ScrapeCreateResponseItem&gt;

</summary>

<details>

<summary>

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

</summary>

<details>

<summary>

attributes: Array&lt;Attribute&gt;

</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](<#(resource)%20browser_rendering.scrape%20%3E%20(model)%20scrape_create_response%20%3E%20(schema)>)

#### Browser RenderingScreenshot

##### [Get screenshot.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/screenshot/methods/create)

client.browserRendering.screenshot.create(ScreenshotCreateParamsparams, RequestOptionsoptions?): [ScreenshotCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)>) {success, errors }

POST/accounts/{account\_id}/browser-rendering/screenshot

##### ModelsExpand Collapse

<details>

<summary>

ScreenshotCreateResponse {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?: Array&lt;Error&gt;

</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](<#(resource)%20browser_rendering.screenshot%20%3E%20(model)%20screenshot_create_response%20%3E%20(schema)>)

#### Browser RenderingSnapshot

##### [Get HTML content and screenshot.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/snapshot/methods/create)

client.browserRendering.snapshot.create(SnapshotCreateParamsparams, RequestOptionsoptions?): [SnapshotCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)>) {accessibilityTree, content, markdown, screenshot }

POST/accounts/{account\_id}/browser-rendering/snapshot

##### ModelsExpand Collapse

<details>

<summary>

SnapshotCreateResponse {accessibilityTree, content, markdown, screenshot }

</summary>

<details>

<summary>

accessibilityTree?: AccessibilityTree {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?: 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?: boolean| "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>

<details>

<summary>

"mixed"

</summary>

"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%20%3E%20(member)%200">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%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?: Array&lt;unknown&gt;

<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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: 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?: boolean| "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>

<details>

<summary>

"mixed"

</summary>

"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%20%3E%20(member)%200">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%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?: 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?: 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?: 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?: 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?: string| 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?: 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?: 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?: 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?: 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?: 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?: 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](<#(resource)%20browser_rendering.snapshot%20%3E%20(model)%20snapshot_create_response%20%3E%20(schema)>)

#### Browser RenderingJson

##### [Get json.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/json/methods/create)

client.browserRendering.json.create(JsonCreateParamsparams, RequestOptionsoptions?): [JsonCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.json%20%3E%20(model)%20json_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/browser-rendering/json

##### ModelsExpand Collapse

JsonCreateResponse = Record<string, unknown>

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(model)%20json_create_response%20%3E%20(schema)>)

#### Browser RenderingLinks

##### [Get Links.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/links/methods/create)

client.browserRendering.links.create(LinkCreateParamsparams, RequestOptionsoptions?): [LinkCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.links%20%3E%20(model)%20link_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/browser-rendering/links

##### ModelsExpand Collapse

LinkCreateResponse = Array<string>

[Link to this property](<#(resource)%20browser_rendering.links%20%3E%20(model)%20link_create_response%20%3E%20(schema)>)

#### Browser RenderingMarkdown

##### [Get markdown.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/markdown/methods/create)

client.browserRendering.markdown.create(MarkdownCreateParamsparams, RequestOptionsoptions?): [MarkdownCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.markdown%20%3E%20(model)%20markdown_create_response%20%3E%20(schema)>)

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](<#(resource)%20browser_rendering.markdown%20%3E%20(model)%20markdown_create_response%20%3E%20(schema)>)

#### Browser RenderingAccessibility Tree

##### [Get accessibility tree page](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/accessibility_tree/methods/create)

client.browserRendering.accessibilityTree.create(AccessibilityTreeCreateParamsparams, RequestOptionsoptions?): [AccessibilityTreeCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)>) {accessibilityTree }

POST/accounts/{account\_id}/browser-rendering/accessibilityTree

##### ModelsExpand Collapse

<details>

<summary>

AccessibilityTreeCreateResponse {accessibilityTree }

</summary>

<details>

<summary>

accessibilityTree: AccessibilityTree| null

Accessibility tree node

</summary>

role: string

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

autocomplete?: string

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

<details>

<summary>

checked?: boolean| "mixed"

</summary>

One of the following:

boolean

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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>

<details>

<summary>

"mixed"

</summary>

"mixed"

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

</details>

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20checked">Link to this property</a>

children?: Array&lt;unknown&gt;

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

description?: string

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

disabled?: boolean

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

expanded?: boolean

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

focused?: boolean

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

haspopup?: string

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

invalid?: string

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

keyshortcuts?: string

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

level?: number

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

modal?: boolean

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

multiline?: boolean

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

multiselectable?: boolean

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

name?: string

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

orientation?: string

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

<details>

<summary>

pressed?: boolean| "mixed"

</summary>

One of the following:

boolean

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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>

<details>

<summary>

"mixed"

</summary>

"mixed"

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

</details>

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20pressed">Link to this property</a>

readonly?: boolean

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

required?: boolean

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

roledescription?: string

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

selected?: boolean

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

<details>

<summary>

value?: string| number

</summary>

One of the following:

string

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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.accessibility_tree%20%3E%20(model)%20accessibility_tree_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.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree%20%3E%20(property)%20value">Link to this property</a>

valuemax?: number

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

valuemin?: number

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

valuetext?: string

<a href="#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_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.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)%20%3E%20(property)%20accessibilityTree">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.accessibility_tree%20%3E%20(model)%20accessibility_tree_create_response%20%3E%20(schema)>)

#### Browser RenderingCrawl

##### [Crawl websites.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/crawl/methods/create)

client.browserRendering.crawl.create(CrawlCreateParamsparams, RequestOptionsoptions?): [CrawlCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/browser-rendering/crawl

##### [Get crawl result.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/crawl/methods/get)

client.browserRendering.crawl.get(stringjobID, CrawlGetParams {account\_id, cacheTTL, cursor, 2 more } params, RequestOptionsoptions?): [CrawlGetResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)>) {id, browserSecondsUsed, finished, 5 more }

GET/accounts/{account\_id}/browser-rendering/crawl/{job\_id}

##### [Cancel a crawl job.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/crawl/methods/delete)

client.browserRendering.crawl.delete(stringjobID, CrawlDeleteParams {account\_id } params, RequestOptionsoptions?): [CrawlDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_delete_response%20%3E%20(schema)>) {job\_id, message }

DELETE/accounts/{account\_id}/browser-rendering/crawl/{job\_id}

##### ModelsExpand Collapse

CrawlCreateResponse = string

Crawl job ID.

[Link to this property](<#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_create_response%20%3E%20(schema)>)

<details>

<summary>

CrawlGetResponse {id, browserSecondsUsed, finished, 5 more }

</summary>

id: string

Crawl job ID.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

browserSecondsUsed: number

Total seconds spent in browser so far.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20browserSecondsUsed">Link to this property</a>

finished: number

Total number of URLs that have been crawled so far.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20finished">Link to this property</a>

<details>

<summary>

records: Array&lt;Record&gt;

List of crawl job records.

</summary>

<details>

<summary>

status: "queued"| "errored"| "completed"| 3 more

Current status of the crawled URL.

</summary>

One of the following:

"queued"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"errored"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"completed"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"disallowed"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"skipped"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"cancelled"

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

url: string

Crawled URL.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

html?: string

HTML content of the crawled URL.

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

json?: Record&lt;string, unknown&gt;

JSON of the content of the crawled URL.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20json">Link to this property</a>

markdown?: string

Markdown of the content of the crawled URL.

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

<details>

<summary>

metadata?: Metadata {status, url, title }

Absent for urls that never reached a fetch.

</summary>

status: number

HTTP status code of the crawled page.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(property)%20status">Link to this property</a>

url: string

Final URL of the crawled page.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(property)%20url">Link to this property</a>

title?: string

Title of the crawled page.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(property)%20title">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records%20%3E%20(items)%20%3E%20(property)%20metadata">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20records">Link to this property</a>

skipped: number

Total number of URLs that were skipped due to include/exclude/subdomain filters. Skipped URLs are included in records but are not counted toward total/finished.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20skipped">Link to this property</a>

status: string

Current crawl job status.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

total: number

Total current number of URLs in the crawl job.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20total">Link to this property</a>

cursor?: string

Cursor for pagination.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)%20%3E%20(property)%20cursor">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_get_response%20%3E%20(schema)>)

<details>

<summary>

CrawlDeleteResponse {job\_id, message }

</summary>

job\_id: string

The ID of the cancelled job.

<a href="#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_delete_response%20%3E%20(schema)%20%3E%20(property)%20job_id">Link to this property</a>

message: string

Cancellation confirmation message.

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

</details>

[Link to this property](<#(resource)%20browser_rendering.crawl%20%3E%20(model)%20crawl_delete_response%20%3E%20(schema)>)

#### Browser RenderingDevtools

#### Browser RenderingDevtoolsSession

##### [List sessions.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/session/methods/list)

client.browserRendering.devtools.session.list(SessionListParams {account\_id, limit, offset } params, RequestOptionsoptions?): [SessionListResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)>) {sessionId, closeReason, closeReasonText, 8 more }

GET/accounts/{account\_id}/browser-rendering/devtools/session

##### [Get session details.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/session/methods/get)

client.browserRendering.devtools.session.get(stringsessionID, SessionGetParams {account\_id } params, RequestOptionsoptions?): [SessionGetResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)>) {sessionId, closeReason, closeReasonText, 8 more } | null

GET/accounts/{account\_id}/browser-rendering/devtools/session/{session\_id}

##### ModelsExpand Collapse

<details>

<summary>

SessionListResponse = Array&lt;SessionListResponseItem&gt;

</summary>

sessionId: string

Session ID.

formatuuid

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20sessionId">Link to this property</a>

closeReason?: number

Reason code for session closure.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20closeReason">Link to this property</a>

closeReasonText?: string

Human-readable close reason.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20closeReasonText">Link to this property</a>

connectionEndTime?: number

Connection end time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20connectionEndTime">Link to this property</a>

connectionId?: string

Connection ID.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20connectionId">Link to this property</a>

connectionStartTime?: number

Connection start time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20connectionStartTime">Link to this property</a>

devtoolsFrontendUrl?: string

DevTools frontend URL.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

endTime?: number

Session end time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20endTime">Link to this property</a>

lastUpdated?: number

Last updated timestamp.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20lastUpdated">Link to this property</a>

startTime?: number

Session start time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20startTime">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for debugging this target.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_list_response%20%3E%20(schema)>)

<details>

<summary>

SessionGetResponse {sessionId, closeReason, closeReasonText, 8 more }

</summary>

sessionId: string

Session ID.

formatuuid

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20sessionId">Link to this property</a>

closeReason?: number

Reason code for session closure.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20closeReason">Link to this property</a>

closeReasonText?: string

Human-readable close reason.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20closeReasonText">Link to this property</a>

connectionEndTime?: number

Connection end time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20connectionEndTime">Link to this property</a>

connectionId?: string

Connection ID.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20connectionId">Link to this property</a>

connectionStartTime?: number

Connection start time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20connectionStartTime">Link to this property</a>

devtoolsFrontendUrl?: string

DevTools frontend URL.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

endTime?: number

Session end time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20endTime">Link to this property</a>

lastUpdated?: number

Last updated timestamp.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20lastUpdated">Link to this property</a>

startTime?: number

Session start time.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20startTime">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for debugging this target.

<a href="#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.session%20%3E%20(model)%20session_get_response%20%3E%20(schema)>)

#### Browser RenderingDevtoolsBrowser

##### [Get a browser session ID.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/methods/create)

client.browserRendering.devtools.browser.create(BrowserCreateParams {account\_id, keep\_alive, lab, 4 more } params, RequestOptionsoptions?): [BrowserCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_create_response%20%3E%20(schema)>) {sessionId, webSocketDebuggerUrl }

POST/accounts/{account\_id}/browser-rendering/devtools/browser

##### [Close browser session.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/methods/delete)

client.browserRendering.devtools.browser.delete(stringsessionID, BrowserDeleteParams {account\_id } params, RequestOptionsoptions?): [BrowserDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_delete_response%20%3E%20(schema)>) {status }

DELETE/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}

##### [Get browser version metadata.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/methods/version)

client.browserRendering.devtools.browser.version(stringsessionID, BrowserVersionParams {account\_id } params, RequestOptionsoptions?): [BrowserVersionResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)>) {Browser, Protocol-Version, User-Agent, 3 more }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/version

##### [Get Chrome DevTools Protocol schema.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/methods/protocol)

client.browserRendering.devtools.browser.protocol(stringsessionID, BrowserProtocolParams {account\_id } params, RequestOptionsoptions?): [BrowserProtocolResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)>) {domains, version }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/protocol

##### ModelsExpand Collapse

<details>

<summary>

BrowserCreateResponse {sessionId, webSocketDebuggerUrl }

</summary>

sessionId: string

Browser session ID.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_create_response%20%3E%20(schema)%20%3E%20(property)%20sessionId">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for the session.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_create_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_create_response%20%3E%20(schema)>)

<details>

<summary>

BrowserDeleteResponse {status }

</summary>

<details>

<summary>

status: "closing"| "closed"

</summary>

One of the following:

"closing"

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"closed"

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_delete_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_delete_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_delete_response%20%3E%20(schema)>)

<details>

<summary>

BrowserVersionResponse {Browser, Protocol-Version, User-Agent, 3 more }

</summary>

Browser: string

Browser name and version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20Browser">Link to this property</a>

"Protocol-Version": string

Chrome DevTools Protocol version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20Protocol-Version">Link to this property</a>

"User-Agent": string

User agent string.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20User-Agent">Link to this property</a>

"V8-Version": string

V8 JavaScript engine version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20V8-Version">Link to this property</a>

"WebKit-Version": string

WebKit version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20WebKit-Version">Link to this property</a>

webSocketDebuggerUrl: string

WebSocket URL for debugging the browser.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_version_response%20%3E%20(schema)>)

<details>

<summary>

BrowserProtocolResponse {domains, version }

</summary>

<details>

<summary>

domains: Array&lt;Domain&gt;

List of protocol domains.

</summary>

domain: string

Domain name.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20domain">Link to this property</a>

commands?: Array&lt;Record&lt;string, unknown&gt;&gt;

Available commands.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20commands">Link to this property</a>

dependencies?: Array&lt;string&gt;

Domain dependencies.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20dependencies">Link to this property</a>

events?: Array&lt;Record&lt;string, unknown&gt;&gt;

Available events.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20events">Link to this property</a>

experimental?: boolean

Whether this domain is experimental.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20experimental">Link to this property</a>

types?: Array&lt;Record&lt;string, unknown&gt;&gt;

Type definitions.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20types">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20domains">Link to this property</a>

<details>

<summary>

version?: Version {major, minor }

Protocol version.

</summary>

major: string

Major version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20version%20%3E%20(property)%20major">Link to this property</a>

minor: string

Minor version.

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20version%20%3E%20(property)%20minor">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser%20%3E%20(model)%20browser_protocol_response%20%3E%20(schema)>)

#### Browser RenderingDevtoolsBrowserLive View

##### [Mint live view URLs for a browser session](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/live_view/methods/create)

client.browserRendering.devtools.browser.liveView.create(stringsessionID, LiveViewCreateParams {account\_id, expiresInMs, guardrails, 2 more } params, RequestOptionsoptions?): [LiveViewCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)>) {id, devtoolsFrontendUrl, options, webSocketDebuggerUrl }

POST/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/live\_view

##### ModelsExpand Collapse

<details>

<summary>

LiveViewCreateResponse {id, devtoolsFrontendUrl, options, webSocketDebuggerUrl }

</summary>

id: string

Target ID

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

devtoolsFrontendUrl: string

URL to open the live view in a browser

formaturi

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

<details>

<summary>

options: Options {mode, guardrails }

</summary>

<details>

<summary>

mode: "devtools"| "tab"| "full"

UI mode for the live view

</summary>

One of the following:

"devtools"

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20mode%20%3E%20(member)%200">Link to this property</a>

"tab"

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20mode%20%3E%20(member)%201">Link to this property</a>

"full"

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20mode%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20mode">Link to this property</a>

<details>

<summary>

guardrails?: Guardrails {mode }

Connection guardrails applied to this link

</summary>

mode: "readonly"

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20guardrails%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options%20%3E%20(property)%20guardrails">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20options">Link to this property</a>

webSocketDebuggerUrl: string

WebSocket URL for CDP connection

formaturi

<a href="#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.live_view%20%3E%20(model)%20live_view_create_response%20%3E%20(schema)>)

#### Browser RenderingDevtoolsBrowserPage

#### Browser RenderingDevtoolsBrowserTargets

##### [Open a new browser tab.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/targets/methods/create)

client.browserRendering.devtools.browser.targets.create(stringsessionID, TargetCreateParams {account\_id, liveViewUrlExpiresInMs, url } params, RequestOptionsoptions?): [TargetCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)>) {id, type, url, 4 more }

PUT/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/new

##### [List targets.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/targets/methods/list)

client.browserRendering.devtools.browser.targets.list(stringsessionID, TargetListParams {account\_id, liveViewUrlExpiresInMs } params, RequestOptionsoptions?): [TargetListResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)>) {id, type, url, 4 more }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/list

##### [Get a target by ID.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/targets/methods/get)

client.browserRendering.devtools.browser.targets.get(stringtargetID, TargetGetParams {account\_id, session\_id } params, RequestOptionsoptions?): [TargetGetResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)>) {id, type, url, 4 more }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/list/{target\_id}

##### [Activate a browser target.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/targets/methods/activate)

client.browserRendering.devtools.browser.targets.activate(stringtargetID, TargetActivateParams {account\_id, session\_id } params, RequestOptionsoptions?): [TargetActivateResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_activate_response%20%3E%20(schema)>) {message }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/activate/{target\_id}

##### [Close a browser target.](https://developers.cloudflare.com/api/typescript/resources/browser_rendering/subresources/devtools/subresources/browser/subresources/targets/methods/close)

client.browserRendering.devtools.browser.targets.close(stringtargetID, TargetCloseParams {account\_id, session\_id } params, RequestOptionsoptions?): [TargetCloseResponse](<https://developers.cloudflare.com/api/typescript/resources/browser_rendering#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_close_response%20%3E%20(schema)>) {message }

GET/accounts/{account\_id}/browser-rendering/devtools/browser/{session\_id}/json/close/{target\_id}

##### ModelsExpand Collapse

<details>

<summary>

TargetCreateResponse {id, type, url, 4 more }

</summary>

id: string

Target ID.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

type: string

Target type (page, background\_page, worker, etc.).

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

url: string

URL of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

description?: string

Target description.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

devtoolsFrontendUrl?: string

DevTools frontend URL.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

title?: string

Title of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20title">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for debugging this target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_create_response%20%3E%20(schema)>)

<details>

<summary>

TargetListResponse = Array&lt;TargetListResponseItem&gt;

</summary>

id: string

Target ID.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

type: string

Target type (page, background\_page, worker, etc.).

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

url: string

URL of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

description?: string

Target description.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

devtoolsFrontendUrl?: string

DevTools frontend URL.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

title?: string

Title of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20title">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for debugging this target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_list_response%20%3E%20(schema)>)

<details>

<summary>

TargetGetResponse {id, type, url, 4 more }

</summary>

id: string

Target ID.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

type: string

Target type (page, background\_page, worker, etc.).

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

url: string

URL of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

description?: string

Target description.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

devtoolsFrontendUrl?: string

DevTools frontend URL.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20devtoolsFrontendUrl">Link to this property</a>

title?: string

Title of the target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20title">Link to this property</a>

webSocketDebuggerUrl?: string

WebSocket URL for debugging this target.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)%20%3E%20(property)%20webSocketDebuggerUrl">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_get_response%20%3E%20(schema)>)

<details>

<summary>

TargetActivateResponse {message }

</summary>

message: string

Target activated.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_activate_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_activate_response%20%3E%20(schema)>)

<details>

<summary>

TargetCloseResponse {message }

</summary>

message: string

Target is closing.

<a href="#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_close_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.devtools.browser.targets%20%3E%20(model)%20target_close_response%20%3E%20(schema)>)