Skip to content

Revyl assert

Tool revyl_assert

Description

Assert a visual condition on the device screen. Describe what should be true. Examples: ‘the cart total shows $42.99’, ‘a success message is visible’, ‘the Sign In button is disabled’, ‘there are at least 3 search results’, ‘the settings screen is open’, ‘the order confirmation page is shown’.

Command Class

xyz.block.trailblaze.revyl.tools.RevylNativeAssertTool

Registered RevylNativeAssertTool in ToolRegistry

Required Parameters

  • assertion: String The condition to verify, described in natural language. Examples: ‘the cart badge shows 2 items’, ‘the profile tab is selected’.

Optional Parameters

  • reasoning: String

NOTE: THIS IS GENERATED DOCUMENTATION