Skip to main content
An action_node represents a single atomic action. Each node contains exactly one action type.

Structure

Action Types

Each action node contains exactly one of:
ActionPurposeDocumentation
interaction_actionClick, type, select, navigateInteraction Actions
extraction_actionExtract data, screenshotsExtraction Actions
assertion_actionVerify page conditionsAssertion Actions
python_script_actionCustom Python codePython Scripts
sleep_actionPure wait / timing stepSleep Action

Timing Properties

PropertyTypeDefaultDescription
before_sleep_timefloat0.0 (extractions: 3.0)Seconds to wait before action
end_sleep_timefloat1.0 (extractions: 0.0)Seconds to wait after action
expect_new_tabboolFalseAction opens a new tab
max_new_tab_wait_timefloat0.0 (if expect_new_tab: 10.0)Max wait for new tab

Default Timing by Action Type

Action Typebefore_sleep_timeend_sleep_time
Interaction0.01.0
Extraction3.00.0
Assertion0.00.0
2FA0.00.0

Examples

Basic Click

With Custom Timing

Sleep-Only Node

Use a sleep_action when you want to pause without performing any browser interaction. sleep_time is specified in seconds:

Fail State Node

A fail_state_action is used to handle failure states in the automation. It will stop the automation, raise an exception with the provided failure message and mark it as failed.
fail_state_action can also be used with variables.

Opens New Tab

See Timing & Retries for detailed timing configuration.