I am trying to scrape the (what looks like) text from the highlighted element in the attached image. The Xpath I’m using is:
The script runs fine and I get my output but the entries are empty. The bot seems to capture the number of available tags that hold the info I need but outputs it as empty strings. I’m wondering if the presence of “name-invisible” is what’s causing it. It is the name I need but it is hidden behind an image on the website I’m working on and it seems like the text between the opening and closing tags is not text at all but rather an image.
I was hoping you’d be able to help me figure out if my Xpath is not good or if there’s another way to get the data I need.