WebdriverIO Service to mock camera input for Chromium
https://www.npmjs.com/package/wdio-camera-service β HEALTH ? 96 / Healthy
WebdriverIO Service to mock camera input for Chromium
https://www.npmjs.com/package/wdio-camera-service β// readme
A WebdriverIO service that enables camera feed injection for testing applications that use camera/video inputs. This service allows you to mock camera feeds with pre-recorded video files during automated testing.
npm install --save-dev wdio-camera-service
Add the camera service to your WebdriverIO configuration:
// wdio.conf.ts
export const config: WebdriverIO.Config = {
// ... other config
services: [
['camera', {
defaultCameraFeed: './camera/default.mjpeg',
videoDirectory: './camera/video',
}],
],
// ... other config
};
| Option | Type | Required | Defaultβ¦