Trigger

In Replay SDK, we provide 9 default triggers for triggering user actions.

API

Trigger
Description

click

Simulate the user's left mouse button behavior.

type

Simulate the user's input behavior.

contextmenu

Simulate the user's right mouse button behavior.

copy

Simulate the user's copy behavior.

createTab

Simulate the user opening a new tab page in the current window.

dblclick

Simulate the user's left mouse button double-click behavior.

hover

Simulate the user's mouse hover behavior on an element.

paste

Simulate the user's paste behavior.

pressEnter

Simulate the user pressing the Enter key.

select

Simulate the user's dropdown selection behavior.

Last updated