Skip to main content
All CollectionsUnderstand the CommandsDesktop Automation
[Command] Get window element attribute
[Command] Get window element attribute
Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

The Get window element attribute command is used to get the value of a window element attribute.


Parameters and Values

Set parameters

Parameters

Description

Element

Select or capture an element to operate on

Attribute

Select the attribute to get

Save attribute as

Save the attribute 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 get the text from Octoparse and save the result as a variable titled winElementAttr.

Did this answer your question?