Skip to main content

Retrieve text elements using Vision RPA

Wrk Product avatar
Written by Wrk Product
Updated today

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)

Name

Description

Data Type

Required?

Example

Session ID

The unique identifier of the session. Can be retrieved from "Connect and log in to a VM" or "Open a browser session" Wrk Action

Text (Short)

Yes

fb9bc380-146c-420e-9130-50ce93614e05

Element text filter

Filter returned text elements using the provided text. Regex enabled

Text (Long)

Yes

search value

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Search image

Screenshot of the visible screen with the searched section highlighted in a green box and the matched elements in red boxes

File

No

Matched elements

A JSON array of the matching elements with their corrdinates on screen

Text (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 elements

Total number of matched elements

Number

No

1

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

No result

This status is selected if the job has successfully completed but no result was produced.

Requirements

  • N/A

Did this answer your question?