Every step in your test uses one of three simple actions:
1. navigate
Section titled “1. navigate”Opens a relative path or full URL.
- navigate: /- navigate: /settings- navigate: https://example.com/checkout2. act
Section titled “2. act”Performs an action using natural language.
Typing Text
Section titled “Typing Text”- act: Type 'John' into the 'First Name' input field- act: Type '${secret.MY_PASSWORD}' into 'Password'Clicking Elements
Section titled “Clicking Elements”- act: Click on the 'Login' button- act: Click 'Submit'Selecting & Checking
Section titled “Selecting & Checking”- act: Select 'Price: Low to High' from dropdown- act: Check 'Remember me' checkbox3. validate
Section titled “3. validate”Verifies page state visually or by text content.
- validate: Verify 'Welcome back' message appears- validate: Verify shopping cart shows 2 items