Skip to main content

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 parametersInput parameter typeDescription
Webpage ObjectWebPageGet similar elements of this web page
Web ElementstrUID of a captured similar-element descriptor, not its name or ms-rpa-id
Element Wait DurationnumberMaximum time to wait for matching elements, in seconds. Returns an empty list if the timeout expires.

Command Output Parameters

Output parametersOutput parameter typeDescription
Similar Web Element Listlist[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_element tool.

Example

Get all product names on Taobao homepage

FAQ

See Web Automation FAQ