restartApp Command

Purpose: Restarts the application, useful for resetting app state during tests.

Syntax:

restartApp

Example: To restart the application:

restartApp

This command can be added at any point within the test script to restart the app, ideal for tests requiring a clean start without relaunching the test suite.

Last updated