Instance Method

click(forDuration:thenDragTo:)

Clicks and holds for a specified duration (generally long enough to start a drag operation) then drags to the other coordinate.

Declaration

func click(forDuration duration: TimeInterval, thenDragTo otherCoordinate: XCUICoordinate)

See Also

Clicking

func click()

Sends a click event at the coordinate.

func doubleClick()

Sends a double click event at the coordinate.

func rightClick()

Sends a right click event at the coordinate.