Screen assertion (screenLooksLike)

in Japanese(日本語)

Visual screen check by Foundation Models: matches a screenshot against a description you write.

Functions

function description
screenLooksLike("description") Asks Foundation Models whether the current screen matches the description. Skipped (passes through) when the run profile has screenLooksLike: false.

Example

expectation {
    screenLooksLike("A login screen with email and password fields and a Log In button")
}

Notes