Commands

The Command controls the execution of the entire workflow. ReplaySDK provides a large number of commands to assist in the execution of t

Assuming you want to switch the process to the next step, it would look like this:

replay.next().run()

Chaining calls

All commands can be freely combined

replay.dispatchEvent().next().repeat(2).run()

API

CommandDescription

run

Execute all commands in the chain.

next

Switch to the next step

prev

Switch to the previous step

clear

Clear all commands

wait

Wait for time (default 500ms)

dispatchEvent

Execute the behavior of the current ActionStep

waitPageComplete

Wait for the page to finish loading

repeat

Repeat execution

anima

Control the display and hiding of the UI positioning frame

Last updated