1. 首页
  2. 文档
  3. Get element text

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

Get element text

发刊日期:
2021/10/15

编辑团队:
实在学院

 

1、 Function description

Gets the text content of the specified target element and outputs it to the specified variable.

2、 Attribute description

● Objective: the specified interface element found when executing the component, which is essentiallyXMLFragment, which is used to specify the interface element to be found and the attributes of some parent elements. click"target"To the right of the input box"edit"Button to edit the target element, such as modifySelectorAttribute values in the selector, custom element lookup paths, and so on.

● output to: variable output to.

3、 Use example

The example demonstrates openingIntelligence Indeed Technology Co.Ltd.On the official website, select an element with text. Click Run to get the text of this part from the website, and print it out with the log. The text of this element has been correctly obtained and output.

 

 

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号