Get Similar Web Elements
Command description
Get structurally similar web elements and save them to a list. Capture two similar elements in sequence so Runavelo can compare their shared attributes. Use Get Related Web Elements to retrieve descendants from each item. For example, retrieve similar product cards first, then retrieve the price and name inside each card.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Webpage Object | WebPage | Get similar elements of this web page |
| Web Element | str | UID of a captured similar-element descriptor, not its name or ms-rpa-id |
| Element Wait Duration | number | Maximum time to wait for matching elements, in seconds. Returns an empty list if the timeout expires. |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Similar Web Element List | list[WebElement] |
Type definition reference
tip
- Install the Runavelo browser extension before using this command.
- See Capture Web Elements .
- If a similar-element descriptor has not been captured, the AI can call the
start_capture_similar_web_elementtool.
Example
Get all product names on Taobao homepage