Skip to main content

Find Web Element Action

Find Web Element Action searches and finds an element on a web page by the given data. It supports multiple search strategies including by ID, name, class, XPath, CSS selector and more. The found element reference is stored in an output variable for use with subsequent actions like clicking or extracting data.

Appearance

In Talos, Find Web Element Action appears as a standard rectamgi;ar node with a magnifying glass and a location pin icon.

Find Web Element Icon

Properties

As all Actions, Find Web Element Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
Search byEnum
The method used to locate the element.

Available options:

  • ID
  • Name
  • Inner HTML
  • Class
  • XPath
  • CSS Selector
  • Link Text
  • Partial Link Text
  • Tag Name
Page URLString
The page URL to look into.
Element DataString with Expressions
The data of the element to match against.

See more about Talos Scripting language & Expressions

tip

This property supports expressions. You can use variable references and string expressions to dynamically resolve the element data at runtime.

Examples

Assuming a declared String variable with name elementId.

login-button
${elementId}
//div[@class='${elementId}']
input[name='${elementId}']
Output VariableVariable
The variable to put the results in.