白皮书下载
Element screenshot
1、 Function description
Intercept the image of the specified target element and save it to the file system.
2、 Attribute description
.jpg?1631788655614)
● 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.
.jpg?1631788690609)
Run the component and save the element screenshot as a PNG image at the specified save path.




