flutter/dev/tools/android_driver_extensions
2025-01-30 15:26:56 +00:00
..
lib Refactor android_engine_test, make it easier to debug/deflake locally. (#161534) 2025-01-15 01:05:31 +00:00
test Rename native_driver to android_{driver_extensions|engine_test} (#161263) 2025-01-08 20:28:38 +00:00
pubspec.yaml Roll package:vm_service to 15.0.0 and package:leak_tracker to 10.0.9 (#162325) 2025-01-30 15:26:56 +00:00
README.md Rename native_driver to android_{driver_extensions|engine_test} (#161263) 2025-01-08 20:28:38 +00:00

Android Extensions for Flutter Driver

This a minimal library on top of flutter_driver that provides extensions for interacting with the native Android platform, to otherwise perform actions that are not possible purely through Flutter Driver, and would want to run as an external test (run on the host, not on the device):

  • Take a screenshot, including of native widgets (platform views, textures)
  • Tap on a native widget
  • Rotate the device
  • Background an app and send a "trim memory" signal to the device

Note

While this library runs on Flutter's own CI, and is used to test Flutter's Platform Views, it is not officially supported as an external API, and may change or be removed at any time. We recommend you use existing testing infrastructure, such as: