Controlling views possible?

Hi,
is it possible to get the info, which view is active (shown) at that moment?
i want to save that information and re-activate that view, after an automation has switched the view by navigation_path…
or, is it possible to read out the actual navigation_path ?

i know you can open a specific view using hass-browser-mod's navigate function as views are usually matched with specific url keys. But not sure how to capture the current page when automation kick started.