Class AddMockCameraCommandSettings
Adds or updates a mock camera in the shared video capture device list for test automation. The mock camera is not scoped to a particular page or frame and is removed when the DevTools session that created it disconnects.
public sealed class AddMockCameraCommandSettings : ICommand
- Inheritance
-
AddMockCameraCommandSettings
- Implements
- Inherited Members
Properties
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
DeviceId
Required non-empty identifier for the mock camera. This is mapped to an internal virtual-device identifier and is not the MediaDeviceInfo.deviceId exposed to the page.
[JsonPropertyName("deviceId")]
public string DeviceId { get; set; }