Contents

click(forDuration:thenDragTo:)

Clicks and holds for a duration you specify, then drags to the other coordinate.

Declaration

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

Parameters

  • duration:

    The duration of the initial click and hold.

  • otherCoordinate:

    The coordinate over which to finish the drag gesture.

See Also

Clicking