For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Webcam

Set the webcam stream from a default, downloaded, or generated image.

Set webcam chooses the image the browser presents as the camera stream. Use it before a journey that asks for a webcam photo or scan.

Set webcam Test Step

When to use it

  • Feed a known image into an ID or selfie check.

  • Use Generate image or a download earlier in the Test Case, then point Mode at that file.

  • Keep Default when the journey only needs any camera stream.

Example Flow

Generate an image, then set it as the webcam stream.

Generate image then Set webcam

Configure

Basics

Field
What to set

Mode

Default (default), Last Downloaded, or Generated File

Generated File

The generated image or file when Mode is Generated File

Advanced

Field
What to set

Status on fail

When should screenshots be taken?

Always or On Failures (default)

Pro tip: Set the webcam before the page opens the camera prompt so the stream is ready when the app asks for it.

Tags: runner, webcam, set, camera, stream, file, image

Last updated