Camera Service Service
wdio-camera-service is a 3rd party package, for more information please see GitHub | npm
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.
Features
- 🎥 Inject custom video feeds into Chrome browsers during testing
- 🔄 Dynamically change camera sources during test execution
- 📁 Automatic video directory management
- 🔄 Automatic format conversion - Use MP4, WebM, PNG, JPG and more (requires FFmpeg)
- 💾 Smart caching - Converted files are cached to avoid re-conversion
- 🧪 Perfect for testing camera-dependent applications like QR code scanners, video conferencing, etc.