Assert Visibility of an Element ID

Purpose: Checks if an element with the specified ID is visible on the screen. If the element is not found or not visible, GPT Driver falls back to executing the step using AI.

Syntax:

‎assertVisible.id:"..."

Example: To verify that the element with the ID ‎com.app.ui/login_button is visible:

‎assertVisible.id:"com.app.ui/login_button"

Last updated