Nightwatch (JavaScript)

Nightwatch (JavaScript) #

Loadero uses Selenium Nightwatch to handle participant action simulation. Nightwatch offers a lot of its commands to handle interaction with the browser.

Nightwatch built-in command documentation can be found here.

In addition to built-in Nightwatch commands, Loadero team is working on implementing additional custom commands to accomplish other tasks that would not be possible otherwise.

Available third party libraries #

Additional libraries are installed and available in the script:

Sections #

Variables
Loadero variables implemented for Nightwatch test execution environment.
Constants
Loadero custom constants implemented for Nightwatch test execution environment.
Script Examples
Some example scripts that can be immediately plugged in Loadero to run a test.
Custom Commands
Custom commands that extend Nightwatch built-in commands to accommodate Loadero specific features.