Skip to main content

Retrieve text elements using Vision RPA

Retrieve the coordinates of all text that matches a provided expression. Matches will be listed in order of left to right then top to bottom.Outcomes: Success or No ResultThis Wrk Action uses AI-generated content. Like all AI content, use with caution; information may be outdated, incomplete, or inaccurate.

Application

  • Vision RPA

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Session IDThe unique identifier of the session. Can be retrieved from "Connect and log in to a VM" or "Open a browser session" Wrk ActionText (Short)Yesfb9bc380-146c-420e-9130-50ce93614e05
Element text filterFilter returned text elements using the provided text. Regex enabledText (Long)Yessearch value
Enable regex?Set to true to enable regex for the element text filterTrue/FalseNotrue
Maximum wait durationThe number of seconds to wait forNumberNo30
Search sectionThe section of the visible screen to search for the element in.Predefined Choice ListNo

Outputs (what you get)

NameDescriptionData TypeRequired?Example
Search imageScreenshot of the visible screen with the searched section highlighted in a green box and the matched elements in red boxesFileNo
Matched elementsA JSON array of the matching elements with their corrdinates on screenText (Long)No[{"match_index":1,"text":"Office Supplies Co","bounding_box":{"x1":529,"y1":1461,"x2":802,"y2":1491,"width":273,"height":30},"center_point":"(665,1476)"}
Total matched elementsTotal number of matched elementsNumberNo1

Outcomes

NameDescription
SuccessThis status is selected if the job has successfully completed.
No resultThis status is selected if the job has successfully completed but no result was produced.

Requirements

  • N/A