Get attribute
Last updated
Last updated
Element that obtains the data of a control element attribute. The component works correctly only inside the Open a Browser or Attach Browser container.
For the element to work properly, do the following:
Place the component inside a container - Open browser or Attach browser.
Install the extension for the browser you want to connect to.
Symbol *
in the property name means that it is required. Description of common properties can be found in the Element properties section.
«Process» group:
Attribute: String. Control element attribute name, for example: "title"
.
Timeout*: Int32. Maximum waiting time for process completion (ms). By default it is set to 10000
.
Element: LTools.WebBrowser.Model.IElementInfo. Variable with a reference to the control element. It can filled if the required control element was found earlier using Browser exists component.
«Output» group:
Result: String. Variable for saving data of the first found attribute.
Result (array): List<string>. Variable for saving the data of all attributes found.
Below is an example of using the element in the Pure code type process:
Search template: String. Search template of the control element (the same as selector). To create a template quickly, use Select component tool