Skip to main content
Branching control flow. The body of if declares exactly one condition (assert, assertVisually, checkPageContains, checkPageDoesNotContain, javascript, or any checkElement...) plus a then array. A failing condition skips the then block rather than failing the test.

Parameters

Examples