Instance Property

debugDescription

Provides debugging information about the element.

Declaration

@property(readonly, copy) NSString *debugDescription;

Discussion

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

- waitForExistenceWithTimeout:

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

exists

Determines if the element exists.

hittable

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