studio
2022.4
false
UiPath logo, featuring letters U and I in white
Studio User Guide
Last updated Nov 18, 2024

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>

available

<html>

available

<webctrl>

not available

<java>

not available

<ctrl>

not available

<sap>

not available

<silverlight>

not available

Selectors inside the following containers:

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

not available

Universal Windows Platform (UWP) applications

not available

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.