Studio
2023.4
false
Banner background image
Studio User Guide
Last updated Apr 26, 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.

The <idx='1'> option only searches through window instances in focus.

Supported selector types

Currently, non-greedy search is supported for the following selector types:
Selector type Support
<wnd>available
<html>available
<webctrl>available
<java>available
<ctrl>available
<uia>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.