Set Camera Image
Description: Mock camera input Provides mock camera input by setting a predefined image. Useful for testing camera-based features. For the time being, it is only supported in Android devices. Examples:- set-camera-image https://example.com/image.jpg
Go Offline
Description: Simulate offline mode Simulates loss of network connectivity, allowing testing of offline functionality and error handling. Examples:- Test offline error messages
- Verify cached content display
- Check offline form submission
Go Online
Description: Restore online connection Restores network connectivity after simulating offline mode, allowing testing of reconnection behavior. Examples:- Restore network connection
- Test data synchronization on reconnect
- Verify online functionality resume
Zoom In
Description: Adjust viewport zoom Adjusts the browser or app viewport zoom level. Useful for testing responsive design and accessibility features. Examples:- Zoom in to 125% for better focus
Zoom Out
Description: Adjust viewport zoom Adjusts the browser or app viewport zoom level. Useful for testing responsive design and accessibility features. Examples:- Zoom out to 75% for better overview
Testing Scenarios
Network Connectivity Testing
- Start with online state
- Perform actions that require network
- Go offline
- Assert appropriate offline behavior
- Go online
- Assert reconnection and data sync
Camera Functionality Testing
- Navigate to camera feature
- Set camera image with test image
- Trigger camera capture
- Assert image is processed correctly
Responsive Design Testing
- Start at normal zoom level
- Zoom in to test high zoom accessibility
- Assert content remains readable and functional
- Zoom out to test overview layouts
- Assert responsive breakpoints work correctly
Usage Tips
- Offline testing: Essential for mobile apps and PWAs
- Camera simulation: Test image processing without physical camera
- Zoom testing: Verify accessibility compliance and responsive design
- Network state changes: Test how your app handles connection drops and restores
- Device-specific features: Some interactions may be platform-specific
Platform Considerations
Android-Specific
- Camera image simulation currently only supported on Android
- Test device-specific UI patterns and behaviors
Web Browsers
- Network state simulation works across all browser platforms
- Zoom controls test responsive design breakpoints
iOS
- Camera simulation coming soon
- Test iOS-specific interaction patterns

