The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

mediarecorder.test.playing

description

Tests whether the recording is currently being played back.

syntax

getMediaRecorder(ELEMENT_NAME).test.playing()

example(s)


@newMediaRecorder("recorder")
@    .log()
@    .print()
,
@newButton("next", "Press to go to the next page")
@    .print()
@    .wait(getMediaRecorder("recorder").test.playing())
  • Initiates new media recorder, and allows going to the next page by the button press only if the current recording is playing.