Class

XCUISiriService

Simulates a device's Siri interface.

Overview

Allows issuing textual queries and producing element queries for UI shown by Siri.

Topics

Activating Siri

func activate(voiceRecognitionText: String)

Presents the Siri UI, if it is not currently active, and accepts a string which is then processed as if it were recognized speech.

Siri Element State

var debugDescription: String

Provides debugging information about the element representing the root of the Siri UI.

See Also

Device Simulation

class XCUIDevice

Simulates physical buttons, device orientation, and Siri interaction for an iOS device.