Skip to content

Commit

Permalink
Scroll to Element for APK/IPA : documentation and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bcivel committed Jan 22, 2025
1 parent 7255946 commit 1056715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,10 @@ Will swipe from the point (100;100) to the point (100;200)
|===
Scroll to either an element or a text.

For *[green]#GUI#* applications, screen will be scrolled until the targeted element is at the top of the screen (shifted according to the defined offset).

For *[green]#APK#* and *[green]#IPA#* applications, screen will be scrolled until the targeted element is at the middle of the screen (shifted according to the defined offset).

*[blue]#Value1#* : Identifier of the element or text where the scroll will move the screen to. Has the form of : identifier=html_reference.

.Scroll to an xpath element
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
* [ENGINE] [GUI] Added actions lockDevice, unlockDevice and rotateDevice for iOS and Android application
* [ENGINE] [GUI] when interact with an element, Cerberus report the number of elements found in order to better understand why an action could fail to provide the correct result
* [ENGINE] [GUI] switchToWindow action now have a better and detail message will all possible context to switch to.
* [ENGINE] [GUI] scrollToElement action now finish when element is at the middle of the screen for iOS and Android application. It's also possible to define an offset.
* [GUI] [GENERAL] Save datatable layout on pages no longer save the current page position.
* [GUI] [GENERAL] Optimization of datatable loading time on execution list and queue list.
* [GUI] [GENERAL] new refresh button on pages with datatable on order to refresh the data content without a full reload of the page.
Expand Down

0 comments on commit 1056715

Please sign in to comment.