Flick-Element

Performs a flick on an element.

Powershell

Performs a flick on an element identified by one of the available locators.

Syntax

Flick-Element [-sessionId ] -xpath -xOffset -yOffset -speed [-direction ] []

Flick-Element [-sessionId ] -marked -xOffset -yOffset -speed [-direction ] []

Flick-Element [-sessionId ] -elementId -xOffset -yOffset -speed [-direction ] []

Parameters

name description
sessionId (Optional) The identifier of the session to route the command to.
elementId (id locator) The identifier of the element.
xpath (xpath locator) The xpath of the element
marked (marked locator) The marked expression of the element
xOffset the horizontal distance to flick
yOffset the vertical distance to flick
speed the speed of the flick movement
direction

Examples

Flick-Element -marked "login" -xoffset 0 -yoffset -300