Skip to main content
A newer version of this page is available. .

Test Actions

Add action methods to Test Scripts. Compose codeless tests with action templates.

Actions fall into the following categories:

Category Description
Assertions Verification actions.
Page Actions Actions that simulate user activity.
Debug Troubleshooting actions.
Browser Actions Actions that interact with browser windows and dialogs.
Switch Frames Actions that switch test execution context to and from iframes.
Statements Actions that create Selector queries and function definitions.
Custom Scripts Actions that execute custom TestCafe scripts.