Test Actions

The Test Editor's Actions panel provides actions that you can use in tests.

Actions Panel

The actions are organized into the following categories:

Category Description
Assertions Contains verification actions.
On-Page Actions Contains actions that simulate user activity on a tested page.
Debug Contains actions for debugging tests.
Browser Actions Contains actions that allow you to interact with a browser window and handle native browser dialogs.
Switch Frames Contains actions that allow you to switch the test's browsing context to iframes or back to the main window.
Statements Contains actions that allow you to create a selector and define a function.
Custom Scripts Contains an action that runs custom TestCafe scripts.