References

summary
public

V dispatcher: {"addStateChangeEventListener": *, "addStorageUpdateEventListener": *, "addReplayUpdateEventListener": *}

public

V events: {"ClickEvent": *, "InputEvent": *}

public

V state: {"DOMREPLAY_STATE_REPLAY": *, "DOMREPLAY_STATE_RECORD": *, "DOMREPLAY_STATE_READY": *, "stateIsReplay": *, "stateIsRecord": *, "stateIsReady": *}

domreplay

summary
public
public

Thrown when the framework is wrongly used.

public

Extend this when implementing custom events that should be recorded/replayed.

public

Use this singleton to register events you want to record/replay.

public

Replay singleton takes care of replay.

public
public

Stores information about the events recorded into local storage.

public
public

Adds an event event listener to the replay update event.

public

Adds an event listener to the state change event.

public

Adds an event listener to the storage update event.

public

Replay update event dispatcher

public

State change event dispatcher.

public

Storage update event dispatcher.

public

F createStateError(message: *): {"type": *, "message": *}

public

F createStorageError(message: *): {"type": *, "message": *}

public

Clears the state storage

public

Gets the state from localstorage

public

F setStateReady(force: Boolean): *

Sets the state to ready.

public

Set state safely to record.

public

Set state safely to replay.

public

True if state is Ready

public

True if state is Record

public

True if state is Replay

public

Constants and error objects which is thrown

public
public
public

V logger: js/domreplay/logger.js~Logger

public
public
public
public
public
public
public

domreplay/defaultEvents

summary
public

Basic Click Event.

public

Basic Input Event.

domreplay/domhound

summary
public

F tracker(trail: *): Promise<HTMLElement>|Promise<null>

Tracks down element according to trail.

public

F trail(element: HTMLElement, child: Object, childIndex: Number): Object

Creates a trail according to its ancestors and siblings recursively.

hud

summary
public

C Hud

public

hud/buttons

summary
public

hud/containers

summary
public