Get Desktop Element Property
Command description
Get a property value from the specified desktop element.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Desktop Element | WinElement or str (captured element UID, not element name, not ms-rpa-id) | Captured desktop element or an element returned by Get Desktop Element, Get Similar Desktop Elements, or Get Related Desktop Elements |
| Property Name | str | For example Name, ClassName, FrameworkId, etc. |
| Element Wait Duration | number | Maximum time to wait for the element, in seconds |
Command Output Parameters
| Output parameters | Output parameter type | Description |
|---|---|---|
| Property Value | any |
Type definition reference
tip
- This command automatically brings the window to the front and restores it if minimized, so Activate Window is normally unnecessary.
- Capture element reference Capture Desktop Elements