Instance Property

isHittable

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

Declaration

var isHittable: Bool { get }

Discussion

isHittable returns true if the element exists and can be clicked, tapped, or pressed at its current location. It returns false if the element does not exist, is offscreen, or is covered by another element.

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 debugDescription: String

Provides debugging information about the element.