From 6d3dcd0321db57d346bdac8fe57bd587b24368f5 Mon Sep 17 00:00:00 2001 From: piotruela Date: Mon, 22 Apr 2024 16:13:33 +0200 Subject: [PATCH] Write documentation for native scrollTo method --- packages/patrol/lib/src/native/native_automator.dart | 2 ++ packages/patrol/lib/src/native/native_automator2.dart | 2 ++ 2 files changed, 4 insertions(+) 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,