Skip to main content
Check if element is visible on a VM
Wrk Product avatar
Written by Wrk Product
Updated over 5 months ago

The "Connect and log in to a VM" WrkAction is required in your Wrkflow prior to making use of this desktop RPA WrkAction.

Check if an element is visible on a virtual machine. This Wrk Action will wait 2 seconds before the initial check and check every 5 seconds until the maximum wait duration.

Application

  • Desktop Automation (RPA)

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Desktop session ID

The unique identifier of the desktop instance. Can be retrieved from "Connect and log in to a VM” Wrk Action.

Text (Short)

Yes

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

Search query

The question you would like answered about VM

Text(Long)

Is the Google Chrome icon on the desktop?

Maximum wait duration

The number of seconds to wait for

Pre-defined Choice List

30

Left X-coordinate

The leftmost coordinate in in pixels of the area you would like to search. If no coordinate is given will default to 0

Number

No

10

Right X-coordinate

The rightmost coordinate in in pixels of the area you would like to search. If no coordinate is given will default to 1920

Number

No

100

Top Y-coordinate

The topmost coordinate in in pixels of the area you would like to search. If no coordinate is given will default to 0

Number

No

10

Bottom Y-coordinate

The bottommost coordinate in pixels of the area you would like to search. If no coordinate is given will default to 1080

Number

No

100

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Screenshot

File

No

Outcomes

Name

Description

Yes

This status is selected if the search query is found.

No

This status is selected if not found before the maximum duration

Impossible to complete

This status is selected in the event of the following scenario:

  • Unable to connect to the session for some reason

Requirements

  • N/A

Did this answer your question?