traverseTo

fun traverseTo(key: String, options: NavigationOptions = definedExternally): NavigationResult(source)

The traverseTo() method of the Navigation interface navigates to the NavigationHistoryEntry identified by the given key.

MDN Reference