"Why Isn't My xpath text Selector Working Right??"
Hey guys, struggling hard here lol.
Trying to scrape some xpath text from a site, but it keeps returning empty or grabbing the wrong stuff.
I’m using something like `//div[@class='stuff']/text()` but it’s not consistent.
Is it cuz the page’s dynamic? Or am I just dumb with xpath syntax?
Also, how do y’all handle xpath text when the content changes on click/load?
Any tips or examples would be *chef’s kiss*.
Thx in advance! 🙏
(PS: sorry for typos, typing on phone)
Hey guys, struggling hard here lol.
Trying to scrape some xpath text from a site, but it keeps returning empty or grabbing the wrong stuff.
I’m using something like `//div[@class='stuff']/text()` but it’s not consistent.
Is it cuz the page’s dynamic? Or am I just dumb with xpath syntax?
Also, how do y’all handle xpath text when the content changes on click/load?
Any tips or examples would be *chef’s kiss*.
Thx in advance! 🙏
(PS: sorry for typos, typing on phone)
