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 TestNavigationContext
A class that encapsulates the current navigation location, simulating browser-like behavior.
