Scanner Commands Reference¶
Low-level reference for scanner protocol actions used by Oryn backends.
Message Format¶
Request¶
Use action as the canonical command key:
Compatibility: scanner.js also accepts cmd for legacy callers.
Success¶
Error¶
Core Actions¶
scan¶
{
"action": "scan",
"max_elements": 200,
"include_hidden": false,
"viewport_only": false,
"near": null,
"monitor_changes": false,
"full_mode": false
}
Returns page, elements, stats, and optionally patterns, changes, available_intents.
click¶
type¶
select¶
wait_for¶
extract¶
Intent-Style Scanner Actions¶
login¶
search¶
dismiss¶
accept¶
Script/Data Actions¶
execute¶
get_text¶
get_html¶
Error Codes¶
Common scanner-facing codes:
ELEMENT_NOT_FOUNDELEMENT_STALEELEMENT_NOT_VISIBLEELEMENT_DISABLEDELEMENT_NOT_INTERACTABLEINVALID_ELEMENT_TYPEOPTION_NOT_FOUNDSELECTOR_INVALIDTIMEOUTNAVIGATION_ERRORSCRIPT_ERRORUNKNOWN_COMMANDINVALID_REQUESTINTERNAL_ERROR
See Error Codes for recovery guidance.