clear
Clears navigation history and restores the initial location.
clear(): this
Note
To re-initialize the application before a test, use the useTestContext() function.
Related
- class TestNavigationControllerA class that encapsulates the current navigation location, simulating browser-like behavior.