flutter/dev/tools/android_driver_extensions
flutter-pub-roller-bot c4851857be
Roll pub packages (#163083)
This PR was generated by `flutter update-packages --force-upgrade`.
2025-02-11 23:47:59 +00:00
..
lib Fix SkiaException -> TestFailure, add tests. (#163054) 2025-02-11 17:54:05 +00:00
test Fix SkiaException -> TestFailure, add tests. (#163054) 2025-02-11 17:54:05 +00:00
pubspec.yaml Roll pub packages (#163083) 2025-02-11 23:47:59 +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: