What / how do you use it? I've only ever used xpath for scraping, and I don't know how it can be useful outside of scraping.
See https://devhints.io/xpath & https://devtoolstips.org/tips/en/evaluate-xpath/, and in this thread: https://news.ycombinator.com/item?id=36755041