assertNotVisible

suspend fun assertNotVisible(tag: String, message: String? = null)

Asserts that an element matching the tag is NOT visible in the UI.

This is a polling assertion that waits for the element to disappear if it is currently present.


suspend fun assertNotVisible(selector: Selector, message: String? = null, timeoutMs: Long = config.defaultWaitTimeoutMs)

Asserts that an element matching the selector is NOT visible in the UI.