Skip to main content
All CollectionsUnderstand the CommandsDesktop Automation
[Command] Get relative element in window
[Command] Get relative element in window
Sophie avatar
Written by Sophie
Updated over 10 months ago

Definition and Usage

The Get relative element in window command is used to search and get an element in the window by using a position relative to a fixed element.


Parameters Values

Set parameters

Parameters

Description

Element

Select or capture an element to operate on

Relationship

Specify how the element will be related

Save element as

Save the element as a new variable

Advanced settings

Parameters

Description

Wait for element

Wait for a specified amount of time (seconds) until the element appears

Error handling

Parameters

Description

When error occurs

If an error occurs, the process will be terminated by default. You can also ignore the error or retry the current command


Example

The workflow above will obtain the parent element of the "Text" captured in the window and save it as a variable named "relativeElement".

Did this answer your question?