Rate this page:

RecorderEvents

Add the following line to your scenario code to use the events:

require(Modules.Recorder);

Constants

RecorderError

Copy URL

Triggers in case of errors during the recording process.

Parameters

  • error:

    string

    Error message.

  • recorder:

    Recorder

    Recorder that generated the event.

Started

Copy URL

Triggers after the recording's start.

Parameters

  • recorder:

    Recorder

    Recorder that generated the event.

  • url:

    string

    The link to the record.

Stopped

Copy URL

Triggers after the recording's stop.

Parameters

  • cost:

    string

    Record cost (in the account's currency: USD, EUR or RUB).

  • duration:

    number

    Record duration in seconds.

  • recorder:

    Recorder

    Recorder that generated the event.