How-to
Check checkbox (check)
Check checkbox (check)
Checks the Target checkbox. If it is already checked, the step stays valid for typical Playwright check behavior.
Step model
action_name | check |
| Group | Input |
| Target | Required |
| Value | Unused |
| expected_value | Unused |
| TEST_ACCOUNT | Forbidden |
| Do not confuse with | uncheck, click |
Target/Value facts match the source-of-truth catalog and Autotest step.
Prerequisites
- Target is a checkbox or a compatible control.
Steps
- Add a
checkstep. - Set the checkbox Target.
- Leave Value empty.
- Save.
The step is stored on the autotest. Next - neighbouring steps or autotest run creation.
Examples
Consent checkbox
Fields in the UI:
| Field | Value |
|---|---|
action_name | check |
| Target | kind LABEL, value I agree |
Step JSON fragment (copy-paste):
json
{
"action_name": "check",
"target": {
"kind": "LABEL",
"value": "I agree"
}
}Common mistakes
- Do not use click on a checkbox when you need an explicit on-state - use check.
Screenshots
Screenshots of the step form for check will be added here in a later pass.
Did this page help?