List of functions

Actions

click

NameArgumentsDescription
clickSelectors ["xpath", "css", "text"]
value: string
Clicks an element and wait a set count of seconds.

input

NameArgumentsDescription
inputSelectors ["xpath", "css", "text"]
value: string
Enters a text into a selected element.

scroll

NameArgumentsDescription
scrollx: integer
y: integer
Scrolls a set count of pixels.

scroll_to_bottom

NameArgumentsDescription
scroll_to_bottom-Scrolls to bottom for a set count of seconds.

wait

NameArgumentsDescription
wait-Waits a set count of seconds.

wait_for_element

NameArgumentsDescription
wait_for_elementSelectors ["xpath", "css", "text"]
value: string
Waits for element to load for a set count of seconds.

fetch_resource

NameArgumentsDescription
fetch_resource-Fetches the first occurrence of a Fetch/XHR resource matching the set pattern.

fetch_resource cannot be combined with any other instructions and should be used with separate requests.

General Arguments

Arguments available for all actions above

type

NameDescription
typeType of browser action used

timeout_s

NameDescription
timeout_sHow much time in seconds to wait at max until the execution of the action is terminated.

wait_time_s

NameDescription
wait_time_sHow much time in seconds to use explicitly to execute the action.

on_error

NameDescription
on_errorIndicator what to do with actions in case they fail:
"error": Stops the execution of browser actions.
"skip": Continues with the next action.