mediarecorder.test.recorded

description

Tests whether a recording was completed.

syntax

getMediaRecorder(ELEMENT_NAME).test.recorded()

example(s)


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