Skip to main content

Web Element Selectors

IntelliBuddies Web UI Selector

Element Selectors

Most web automation activities require you to select a web UI element. These elements include text boxes, table cells, buttons, dropdown lists, and many others. Any web UI element can be denoted through a specific XPath inside a web page.

IntelliBuddies lets you select these web UI elements through a visual approach, and we call them Element Selectors. To choose the web UI element for an activity, perform the following steps:

The selected web UI element will be stored as an XPath.

Element Selectors for Iframes

In addition to seamlessly selecting web UI elements within the main document, IntelliBuddies extends its functionality to support selecting elements within iframes. Iframes, also called inline frames, are HTML elements that facilitate embedding one HTML document within another. Accurately selecting elements within these nested documents is pivotal when automating tasks within iframes.

To select a web UI element within an iframe using IntelliBuddies' visual approach, adhere to the following steps:

Get Iframe

  • Drag and drop the Get Iframe activity to main workflow

  • In the Iframe Path configuration option, click on the dropdown arrow, which shows two options: Select Element and Edit Path. Choose the Select Element option to open the Browser Selector dialog having the following options:

    OptionDescription
    Select the browser instanceYou can either open an existing browser instance or launch a new one.
    BrowserSelect the browser type from the dropdown.
    URLWhen launching a new browser instance, specify the URL here.
    If you opt for an existing browser instance, this will populate with all the URLs currently loaded by the current browser instances. You can select a specific one.
    IframeThis option becomes available if any iframes are present on the selected or provided webpage. You can specify the URL here or select from the dropdown list of iframe URLs and their corresponding paths.

    Here is an example webpage that contains many Iframes. The Get Iframe activity lists all of them with hierarchy.

    Get Iframe

    You can view the selected Iframe by clicking on the eye button. Here is an example

    Get Iframe View

  • Click the OK button to proceed.

    Web UI Element Selector

  • The Element Selector waiting button will appear.

  • Depending on your selection, it will launch a new browser instance or activate an existing one, enabling you to select the desired web UI element inside the Iframe.

  • Hover your mouse cursor over the element you wish to select within the Browser. Highlights Web UI elements as you hover over them.

  • Right-click your mouse and select Send XPath to designate the web UI element.

This action returns the selected web UI element in XPath format, representing the iframe path.

XPath Encoding

If the XPath contains special characters, you should encode them before specifying them for the HTML or Web selector properties. Here is the table listing the special characters with encoded values:

Special Characters