Comment on page
Waits until an element becomes visible. Fails if the element is not visible after the timeout expires. This command will complete as soon as element becomes visible and is not going to wait for timeout to expire.
visible: "My text that should be visible" # or any other selector
timeout: 10000 # Timeout in milliseconds
Similarly, it can wait until an element disappears:
id: "elementId" # or any other selector