Skip to main content

Custom commands

Loadero provides several predefined custom commands you can use in your test scripts which extend Nightwatch built-in commands. These commands provide additional functionality for various scenarios.

client.customCommand();

The customCommand in this case references one of the commands described in further sections.

Local development

We have created the loadero-nightwatch-commands repository, which is responsible for mocking Loadero custom command calls in your local development projects.

An installation guide and examples of usage can also be read in the repository GitHub page.