getHistory()
Returns a list of all locations currently in navigation history.
getHistory(): string[];
Notes
- Locations are returned as strings (e.g.
pageIdorpageId/detail), in the order they were navigated to, oldest first.
Related
class TestNavigationContext
A class that encapsulates the current navigation location, simulating browser-like behavior.
