Get a CSS selector path to a specific element in the DOM