• Create an HTMLVideoElement from the camera stream. Skips the test if not supported.

    Parameters

    • test: Fixture<SubcaseBatchState>
    • videoTrackConstraints: true | MediaTrackConstraints

      MediaTrackConstraints (e.g. width/height) to pass to getUserMedia(), or true if none.

    • paused: boolean

      whether the video should be paused before returning.

    Returns Promise<HTMLVideoElement>

Generated using TypeDoc