Actions reference
Each test step runs one action. This page lists all 33 actions, grouped as they appear in the step editor. Select an action for its fields, usage notes and examples.
Mouse (3)
Keyboard (2)
Other (4)
- Capture Screenshot
screenshotCaptures a screenshot of the page, or of one element, at this point in the test. - Execute Javascript
evalRuns JavaScript in the page without asserting on the result. - Pause (time in ms)
pauseWaits a fixed number of milliseconds before the next step. - Exit Test
exitStops the test immediately and marks it as passing or failing.
Assertion (12)
- Element is present
assertElementPresentPasses when the element is in the page (in the DOM, visible or not). Waits up to the suite element timeout. - Element is not present
assertElementNotPresentPasses when the element is not in the page (in the DOM, visible or not). Waits up to the suite element timeout. - Wait for element present
assertElementPresentUntilWaits until the element is in the page, failing if the timeout passes first. - Wait for element is not present
assertElementNotPresentUntilWaits until the element is not in the page, failing if the timeout passes first. - Element is visible
assertElementVisiblePasses when the element is present and visible on screen. - Element is not visible
assertElementNotVisiblePasses when the element is hidden or not in the page. - Element text equals
assertTextPasses when the element text equals the expected text. - Element text does not equals
assertNotTextPasses when the element text does not equal the expected text. - Element text contain
assertTextPresentPasses when the element text contains the expected text. - Element text does not contain
assertTextNotPresentPasses when the element text does not contain the expected text. - JavaScript returns true
assertEvalRuns JavaScript in the page and passes when it returns a truthy value. - Check accessibility
assertAccessibilityScans the current page with axe-core and fails on WCAG violations at or above the chosen level.
Store Variables (3)
Requests (6)
- GET
requestGETSends an HTTP GET request and asserts on the response status or body. - PUT
requestPUTSends an HTTP PUT request and asserts on the response status or body. - POST
requestPOSTSends an HTTP POST request and asserts on the response status or body. - PATCH
requestPATCHSends an HTTP PATCH request and asserts on the response status or body. - UPDATE
requestUPDATESends an HTTP PUT request and asserts on the response status or body. - DELETE
requestDELETESends an HTTP DELETE request and asserts on the response status or body.