LongPress(AvaloniaElement, Int32) Method

Definition

Assembly HeadlessTestingFramework.dll

Long press at the specified element's center.

public TouchAction LongPress(AvaloniaElement element, int durationMs = 1000)

Parameters

element
AvaloniaElement

The element to long press.

durationMs
Int32

Duration in milliseconds.

Returns

TouchAction
This TouchAction for chaining.