UiPath Documentation
activities
latest
false

UI Automation activities

Find methods

Semantic selectors let you indicate UI elements based on their meaning, not only on traditional selector attributes. You describe the element you want to interact with, and UiPath uses AI to identify the best matching target.

Semantic selectors support two find methods:

  • DOM (Document Object Model) — the default find method for web applications. It uses information extracted from the application DOM.
  • Image — the default find method for non-web applications. It uses the visible screen image and the image grounding capabilities of modern multimodal models.

DOM mode

In DOM mode, UiPath searches the DOM to find the target element. This mode uses UiPath's DOM Extractor to collect structured information about the page, then sends that information to a large language model (LLM) to match UI elements based on their semantic description.

DOM mode is recommended when the target can be identified through information available in the DOM, such as:

  • visible text;
  • labels;
  • roles;
  • attributes;
  • element hierarchy;
  • structural relationships between elements.

DOM mode can reach any element available in the DOM, including elements that are off-screen. This makes it useful for web applications where the target element exists in the page structure even when it is not visible in the viewport.

DOM mode is less precise when the most important identifying characteristics are visual, such as a specific icon shape, color, style, or visual position. DOM mode is also not available for non-web applications.

Note:

The in-product tooltip summarizes DOM mode as: "Searches the DOM. Reaches any element, including off-screen. Less precise on visual details. Not available on non-web applications."

Image mode

In Image mode, Semantic selectors search the visible screen image instead of the DOM. Image mode can detect and reason over objects that are visible on the screen, including icons, colors, styles, layout, and visual relationships.

This mode uses the image grounding capabilities of the latest multimodal models. These models can understand not only that an element exists, but also where it appears on the screen and how it looks in relation to the surrounding UI.

Image mode is the better choice when the target is described more reliably by how it looks than by its structure, for example:

  • an icon with a specific shape or color;
  • a button that is visually distinct but poorly described in the DOM;
  • a tile or card identified by its color, position, or style;
  • a warning, status, or action icon;
  • a control in a non-web application;
  • a screen where DOM information is incomplete, noisy, or unavailable.

For example, Image mode can target "the green Sales Opportunities tile," "the blue icon next to the search field," or "the warning icon in the top-right corner."

Because Image mode works from the screen image, it is limited to what is visible. If an element is off-screen, hidden, or not visually rendered at targeting time, Image mode cannot identify it from the current screenshot.

For off-screen targets, a Mouse Scroll activity with the To element property, placed before the Semantic selector action, brings the element into view before the action executes.

Note:

The in-product tooltip summarizes Image mode as: "Searches the screen image. Detects any object on the screen, including icons, colors, and styles. Limited to what's visible."

Relationship with Computer Vision

Image mode is the natural evolution of UiPath's Computer Vision technology.

Computer Vision uses AI-based object detection to identify UI elements on the screen. It remains available in Unified Target and continues to be an important targeting method. Because Computer Vision is based on a dedicated object detector, it is more stable and deterministic in scenarios that require predictable visual element detection.

Image mode builds on the same direction — using visual understanding to interact with applications when traditional selectors are not enough — but introduces a more flexible approach. It uses modern multimodal models that reason over the full screen image and match elements based on natural language descriptions. The following table summarizes when to use each method:

MethodUse it when
Computer VisionYou need stable, deterministic visual object detection.
Image modeYou want flexible semantic targeting based on visible visual attributes.
DOM modeThe element can be reliably identified from DOM information.

Computer Vision remains part of Unified Target and is not replaced by the Image find method of Semantic selectors.

Model selection

Semantic selectors include a Model drop-down in Project Settings > UI Automation > Semantic Selector that lets you choose the underlying model used for semantic targeting for each available find method.

For DOM mode, two models are available:

ModelDescription
Gemini 2.5 FlashA model for semantic understanding over DOM-extracted information. Suitable when the target can be described through the information available in the DOM.
PathMiniUiPath's fast and compact model, designed for strong performance while optimizing for speed and efficiency. PathMini supports both Computer Use capabilities and image grounding for Semantic selectors.

For transparency, PathMini is based on a fine-tuned Qwen model.

For Image mode, Semantic selectors can use only PathMini, because it supports image grounding and can reason over the visible screen image.

Usage guidance

DOM mode is the default option for web applications when the target can be identified through text, labels, roles, attributes, or structure available in the DOM. DOM mode is also useful when the target exists in the DOM but is not visible on screen.

Image mode is the better option when the target is described by how it looks, when color, icon shape, style, visual position, or surrounding layout are more relevant than DOM attributes. Image mode is also useful for non-web applications, or when the DOM does not provide enough reliable information.

When using Image mode, the target must be visible on the screen at targeting time. For off-screen targets, a Mouse Scroll activity with the To element property, placed before the Semantic selector action, brings the element into view before the action executes.

For more information about Semantic selectors, refer to About Semantic selectors.

  • DOM mode
  • Image mode
  • Relationship with Computer Vision
  • Model selection
  • Usage guidance
  • Related content

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated