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