Find-ElementByCoordinate

Search for the top element in the current window on position (x, y).

Powershell

Search for the top element in the current window on position (x, y). The coordinates are expressed in pixels and measured from the top left corner. Returns: the element on position (x, y)

Syntax

Find-ElementByCoordinate [-sessionId ] [-x] [-y] []

Parameters

name description
sessionId (Optional) The identifier of the session to route the command to.
x The x coordinate
y the y coordinate

Examples

Find-ElementByCoordinate -x 200 -y 500