Instance Property


Provides debugging information about the element.


var debugDescription: String { get }


The data in the string will vary based on the time at which it is captured, but it may include any of the following, as well as additional data:

  • Values for the element's attributes

  • The entire tree of descendants rooted at the element

  • The element's query

This data should be used for debugging only. Depending on any of the data as part of a test is unsupported.

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 exists: Bool

Determines if the element exists.

var isHittable: Bool

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