I want to write a function that will display the path in the Browser Console when I click on a link of the menu on the sub-category, the menu looks like this (https://www.sephora.fr/) in this e-commerce website
For example : Parfum => ForMen => Cologne
How to get the path when I click on Cologne
Thanks