All the most popular e2e testing frameworks and synthetic testing services will allow you to script interactions like page transitions.
For example here is a WebPageTest article on measuring performance of page transitions:
https://www.catchpoint.com/blog/how-fast-is-your-web-app-how...