Skip to content

Get HTML Node

Automation/Browser/Extract

Get HTML

Gets the HTML content of an element or the entire page

browser_get_htmlautomationLocal only
Inputs4
Outputs3
Security exposure6/10
Packageautomation

Ratings

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

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

Input Pins

4

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

Selector

String
selector

CSS selector of element (empty for entire page)

Outer HTML

Boolean
outer_html

Include element's own tags (vs just inner content)

Default true

Output Pins

3

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

HTML

String
html

HTML content

Node Info

Internal name
browser_get_html
Category
Automation/Browser/Extract