1. 首页
  2. 文档
  3. Element screenshot

白皮书下载

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

Element screenshot

发刊日期:
2021/10/15

编辑团队:
实在学院

 

1、 Function description

  Intercept the image of the specified target element and save it to the file system.

2、 Attribute description

● output to variable: the variable to which the file path is output

● 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.

● save path: where screenshots are stored

● file name: the name of the screenshot

3、 Use example

After adding components, click pick element / select element to select elements.

Run the component and save the element screenshot as a PNG image at the specified save path.

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