Skip to main content

Assertions

Assert Region​

Restrictions: "none"

Assert Region

Asserts the selected region matches the intended content.

Inputs​

NameTypeDescriptionRequiredDynamic
matcherregionSelect one or more regions to assertYesNo
modeenumAssert all or any of them to be activeYesNo

Outputs​

NameTypeDescription
defaultnull

AI Assert​

Restrictions: "none"

AI Assert

Uses AI to answer a yes/no question and asserts the result is true.

Inputs​

NameTypeDescriptionRequiredDynamic
questiontextYes/no question to ask the AI about what's visible on screenYesNo
regionregionSpecify an optional region to crop the screen to before passing it to the AINoNo
modelenumThe AI model to use for vision processingNoNo

Outputs​

NameTypeDescription
defaultbooleanBoolean result from the AI assertion
explanationstringAI's explanation of its reasoning
viewpointimageThe viewpoint of the AI

Assert Equal​

Restrictions: "none"

Assert Equal

No docs available

Inputs​

NameTypeDescriptionRequiredDynamic
firstcodeThe value to compare with the secondYesYes
secondcodeThe value to compare with the firstYesYes

Outputs​

NameTypeDescription
defaultnull