@toets/driver-android-tv
Runs toets tests on Android TV, Google TV and Fire TV emulators: Appium UiAutomator2 for UI state and key presses, adb for app lifecycle, port reversing, logs, video and key holds. Works with any app framework (native Views, Compose, React Native, Flutter): it reads the platform accessibility tree.
- Setup: requirements, app config, options, reading the launch payload.
- Devices: managed emulators, external devices, lease brokers, CI.
- Keys: key mapping and long press.
- Capabilities: what is supported black-box and how snapshots are filled.
- Fire TV: testing Fire OS apps.
- Traps: where web and phone intuition is wrong.
- Performance: latency per action.
Tests never import this package; @toets/test loads it for android-tv projects. Use the escape hatch (app.platformOnly('android-tv', browser => ...), a WebdriverIO Browser) only for what toets cannot express.