LongClick-Element

Performs a long click on the first element whose locator matches the given value.

Powershell

Performs a long click on the first element whose locator matches the given value.

Syntax

LongClick-Element [-sessionId ] [-elementId] []

Parameters

name description
sessionId (Optional) The identifier of the session to route the command to.
elementId The identifier of the element to click.

Examples

Find-Element -marked "Login" | LongClick-Element