Skip to content

Commit

Permalink
Clarify restrictions on parent/child syntax of Get Elements (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkotenko authored Oct 26, 2023
1 parent 214875c commit 332bde8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/windows/src/RPA/Windows/keywords/locators.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ def get_elements(
By default, only the siblings (similar elements on the same level) are taken
into account. In order to search globally, turn `siblings_only` off, but be
aware that this will take more time to process.
Note that if the syntax ``parent_locator > child_locator`` is used
in the locator, it is assumed that ``parent_locator`` returns a
singular element - i.e. if the locator ``parent_locator`` returns multiple
elements, only the first result is used for further processing, even if
`siblings_only` is off.
For more details on the rest of parameters, take a look at the ``Get Element``
keyword.
Expand Down

0 comments on commit 332bde8

Please sign in to comment.