I have a angular project where I want to open a specific url (but not show it in the application) and then copy an xpath of that opened url page. Think of it like a test using selenium but it is not test but more like open page -> copy xpth -> and use the value for business logic. But I could not find anything in the internet and I do not have any idea how to do it myself. Can someone give me maybe any ideas?