Skip to content

Get Pixel Color Node

Automation/Vision

Gets the color at a screen position. By default X/Y are desktop coordinates, the same ones the mouse nodes and Assert Color use; set Coordinate Space to pixels for the version 1 behaviour (screenshot pixels of Monitor)

vision_get_pixel_colorautomationLocal only
Inputs6
Outputs5
Security exposure4/10
Packageautomation

Ratings

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

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

Input Pins

6

▶

Execution
exec_in

Trigger

Session

Struct
session

Automation session handle

AutomationSessionAutomationSession11 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
browser_frame_selectorsArray<Selector>
default []
itemsSelectorarray item
kindSelectorKindrequired
variant 1enumvariant
enum "Css", "Xpath", "TextExact", "TestId"...
variant 2constvariant

Visible text contained in the element; script, style and head content is ignored.

const "Text"
variant 3constvariant

ARIA role, optionally filtered by accessible name: `button`, `button|Sign in` (case-insensitive substring), `button|=Sign in` (exact) or `button|/^sign/i` (regex).

const "Role"
variant 4constvariant

Element ref from the latest Browser Snapshot, such as `e12`.

const "Ref"
valuestringrequired
confidencenumber | null
format double
scopestring | null

X

Integer
x

X position

Default 0

Y

Integer
y

Y position

Default 0

Coordinate Space

String
coordinate_space

desktop: X/Y are desktop input coordinates on any display (Monitor is ignored). pixels: X/Y are screenshot pixels of Monitor

Default desktop
desktoppixels

Monitor

Integer
monitor

Monitor index from List Displays (-1 = primary); only used when Coordinate Space is pixels

Default -1

Output Pins

5

▶

Execution
exec_out

Continue

Red

Integer
red

Red component (0-255)

Green

Integer
green

Green component (0-255)

Blue

Integer
blue

Blue component (0-255)

Hex

String
hex

Hex color code (#RRGGBB)

Node Info

Internal name
vision_get_pixel_color
Category
Automation/Vision
Version
2