How to get element by xPath

Happy when hearing that works for you.

I think you should read this topic as well. There are something related and may helpful.