Instance Method

press(_:)

Sends a momentary press of a button on a physical remote control.

Declaration

func press(_ remoteButton: XCUIRemote.Button)

Parameters

remoteButton

The button on the physical remote control for which to synthesize a press.

See Also

Pressing Remote Buttons

func press(XCUIRemote.Button, forDuration: TimeInterval)

Sends a press and hold of a button on a physical remote control, holding for the specified duration.

enum XCUIRemoteButton

A button on a physical remote control.