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.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.