Instance Property

exists

Determines if the element exists.

Declaration

var exists: Bool { get }

Discussion

This property determines if the element exists within the app’s current UI hierarchy.

See Also

Querying Element State

func waitForExistence(timeout: TimeInterval) -> Bool

Waits the specified amount of time for the element’s exists property to become true.

var isHittable: Bool

Determines if a hit point can be computed for the element.

var debugDescription: String

Provides debugging information about the element.