Add also version that works using `url`. Call it `navigateToPath`.