Studio
2020.10
false
Banner background image
OUT OF SUPPORT
Studio User Guide
Last updated Dec 20, 2023

Non-Greedy Search

How Non-Greedy Search Works

Introducing Non-Greedy search in your selectors instructs it to search through all the active windows or browser instances which match the top-level tags of your selector, and not just the window instances in focus. Non-Greedy search makes use of the idx() attribute, which needs to be included in the top-level tag, as follows:

Option

Description

<idx='*'>

Searches through all active window instances for the element matching the top-level tag attributes.

Please note that the <idx='1'> option only searches through window instances in focus.

Currently, Non-Greedy search is supported for the following selector types:

Selector Type

Support

<wnd>

<html>

<webctrl>

<java>

<ctrl>

<sap>

<silverlight>

Selectors inside the following containers:

  • Open Application
  • Open Browsers
  • Attach Window
  • Attach Browser

Universal Windows Platform (UWP) applications

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.