Examples
A simple page visit
Headless: true
NeedVideo: false
Actions:
- Do: Page_GotoAsync
Data1: https://your-test-environment.example
Fill a labelled field and submit
Headless: true
NeedVideo: false
Actions:
- Do: Page_GotoAsync
Data1: https://your-test-environment.example/sign-in
- Do: GetByLabel_Fill
Data1: Email
Data2: test.user@example.invalid
- Do: GetByRoleButton_ByName_Click
Data1: Continue
Capture a value for a later step
Headless: true
NeedVideo: false
Actions:
- Do: DefineVariable
Data1: __confirmationCode
- Do: ReadInnerText
Data1: .confirmation-code
Data2: __confirmationCode
Pipe: trim
- Do: GetByRoleTextbox_Fill
Data1: Confirmation code
Data2: __confirmationCode
Use these patterns only with systems you are authorised to test. See PaxActions for the supported action set.