Skip to main content
Checks whether the given substring appears in the native screen hierarchy or active WebView content. This does not use screenshot recognition and can match content that is not visible. Use assertVisually to check what the user can see. The simplified form takes the text as a single string.

Parameters

Shorthand

Text as a single string.

Examples