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

白皮书下载

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

Get child element

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Function description

Gets all child elements under the set element and outputs them in array form.

2、 Attribute description

 

Target: the specified interface element found during component execution is essentially an XML fragment, which is used to specify the interface element to be found and the attributes of some parent elements. Click the "Edit" button on the right side of the "target" input box to edit the target element, such as modifying the attribute value in the selector, customizing the element search path, etc.

Output to variable: the variable output to.

3、 Use example

Example: obtain the specific commodity price, name and store information under a commodity list (element div_5) of JD. Nested for loop to read the information of all products in the list.

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