Contents

debugDescription

Provides debugging information about the element.

Declaration

var debugDescription: String { get }

Discussion

The data in the string varies based on the time at which it’s 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

Use this data for debugging only. Depending on any of the data as part of a test is unsupported.

See Also

Querying element state