Get Web Element Text
The Get Element Text action step reads the innerText of an element and returns it as the Element Text outbound variable, which makes it available for use in subsequent action steps through Pin Variables.
As an example, you can use this action step to copy an email address or other text from a web page and use it in another application.
Properties
See Common Properties.
Outbound Variables
-
Element Text (string, default: blank)
The innerText of the selected element. If the element has no innerText, this action step returns a blank string.
Wizard
To extract the text from a web element:
-
Click Open Browser Wizard.
-
Navigate to the site that contains the text element to extract.
-
Position the mouse over the text element.
-
When a blue border shows to frame the element, press
F2
.The properties of the selected element show in the side bar. In addition to the mandatory XPath, you can select other attributes that help define the correct element.
-
Click Accept Selection () at the beginning of the sidebar on the browser wizard.