press(_:)
Simulates the user pressing a physical button.
Declaration
func press(_ button: XCUIDevice.Button)Parameters
- button:
The button to press on the device.
Simulates the user pressing a physical button.
func press(_ button: XCUIDevice.Button)The button to press on the device.