Instance Method

waitForExistence(timeout:)

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

Declaration

func waitForExistence(timeout: TimeInterval) -> Bool

Discussion

Returns false if the timeout expires without the element coming into existence.

See Also

Querying Element State

var exists: Bool

Determines if the element exists.

var isHittable: Bool

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

var debugDescription: String

Provides debugging information about the element.