Skip to content

Get DOM Snapshot Node

Automation/Browser/Snapshot

Get DOM Snapshot

Captures the current DOM state including HTML, title, URL, and viewport info

browser_get_dom_snapshotautomationLocal only
Inputs3
Outputs6
Security exposure5/10
Packageautomation

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
5/10Medium
PrivacyPotential sensitivity of processed data.
6/10Medium
PerformanceRuntime or resource pressure.
4/10Medium
GovernancePolicy, audit, or compliance impact.
5/10Medium
ReliabilityOperational stability considerations.
2/10High
CostExternal or compute cost impact.
1/10High

Input Pins

3

Execution
exec_in

Trigger

Session

Struct
session

Automation session

AutomationSessionAutomationSession10 fields
session_refstringrequired
platformPlatformrequired
enum "Windows", "MacOS", "Linux"
default_delay_msinteger:uint64required
format uint64min 0
click_delay_msinteger:uint64required
format uint64min 0
debug_modebooleanrequired
browser_typeanyOf (2)

Browser context info if browser is attached

variant 1BrowserTypevariant
enum "Chrome", "Firefox", "Edge", "Safari"
variant 2nullvariant
browser_headlessboolean | null
browser_user_data_dirstring | null
current_page_refstring | null

Current page info if a page is open

current_window_handlestring | null

Include Styles

Boolean
include_styles

Include computed styles (increases snapshot size)

Default false

Output Pins

6

Execution
exec_out

Continue

Session

Struct
session_out

Automation session (pass-through)

AutomationSessionAutomationSession10 fields
session_refstringrequired
platformPlatformrequired
enum "Windows", "MacOS", "Linux"
default_delay_msinteger:uint64required
format uint64min 0
click_delay_msinteger:uint64required
format uint64min 0
debug_modebooleanrequired
browser_typeanyOf (2)

Browser context info if browser is attached

variant 1BrowserTypevariant
enum "Chrome", "Firefox", "Edge", "Safari"
variant 2nullvariant
browser_headlessboolean | null
browser_user_data_dirstring | null
current_page_refstring | null

Current page info if a page is open

current_window_handlestring | null

Snapshot

Struct
snapshot

DOM snapshot data

DomSnapshotDomSnapshot7 fields
htmlstringrequired
titlestringrequired
urlstringrequired
viewport_widthinteger:int32required
format int32
viewport_heightinteger:int32required
format int32
scroll_xinteger:int32required
format int32
scroll_yinteger:int32required
format int32

HTML

String
html

Page HTML content

Title

String
title

Page title

URL

String
url

Current page URL

Node Info

Internal name
browser_get_dom_snapshot
Category
Automation/Browser/Snapshot