Web Automation Practice

WebRTC

Instructions: This page provides the UI for a WebRTC video call.

  1. Click "Start Camera" to trigger the media device request.
  2. Click "Start Call" to simulate initiating a connection.

Validation: Testing WebRTC requires your automation framework to mock `navigator.mediaDevices.getUserMedia` and the `RTCPeerConnection` API. Your script should grant mock camera access and verify that the "Local Video" element displays a stream (e.g., a test pattern from the mock).

Local Video

Remote Video

Output

Waiting for action...