Skip to main content

Module emulation

Module emulation 

Source
Expand description

Device Emulation and Geolocation Mocking (Features 15-16) Device Emulation and Environment Mocking (Features 15-16)

Emulate mobile devices, screen sizes, geolocation, and other environment settings.

§EXTREME TDD: Tests written FIRST per spec

§Toyota Way Application:

  • Poka-Yoke: Pre-defined device profiles prevent configuration errors
  • Genchi Genbutsu: Accurate real-device specifications from actual devices

Structs§

AudioEmulator
Audio emulator for injecting controlled audio into browser tests
AudioEmulatorConfig
Audio emulator configuration
DeviceDescriptor
Device descriptor with all emulation parameters
DeviceEmulator
Device emulator with preset device profiles
GeolocationMock
Geolocation mock controller for simulating location changes
GeolocationPosition
Geographic position with coordinates and accuracy
Viewport
Viewport dimensions

Enums§

AudioEmulatorError
Error type for audio emulation
AudioSource
Audio source types for injection (H4-H6 falsification)
TouchMode
Touch mode configuration