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.
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.
By customizing this property, you can differentiate between same type of actions.
This property is Read only and it is not customizable
Available options:
- ID
- Name
- Inner HTML
- Class
- XPath
- CSS Selector
- Link Text
- Partial Link Text
- Tag Name
See more about Talos Scripting language & Expressions
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}']