diff --git a/packages/patrol/lib/src/native/native_automator.dart b/packages/patrol/lib/src/native/native_automator.dart index 53c79d77f..92d0b89de 100644 --- a/packages/patrol/lib/src/native/native_automator.dart +++ b/packages/patrol/lib/src/native/native_automator.dart @@ -768,6 +768,8 @@ class NativeAutomator { ); } + /// Scrolls to the native view specified by [selector]. + /// Works only on Android. Future scrollTo( Selector selector, { String? appId, diff --git a/packages/patrol/lib/src/native/native_automator2.dart b/packages/patrol/lib/src/native/native_automator2.dart index 35886f247..8a3340b25 100644 --- a/packages/patrol/lib/src/native/native_automator2.dart +++ b/packages/patrol/lib/src/native/native_automator2.dart @@ -643,6 +643,8 @@ class NativeAutomator2 { ); } + /// Scrolls to the native view specified by [selector]. + /// Works only on Android. Future scrollTo( NativeSelector selector, { String? appId,