How Do I Extract Specific 'xpath text' from a Webpage? or What's the Best Way to Target 'xpath text'

18 Replies, 1099 Views

OP here—y’all are legends! 🙌

Tried `normalize-space()` and `contains(@class,'stuff')` and it’s way better now. Still some misses, but progress!

Quick Q: How do I handle xpath text when the class changes randomly? Like `stuff-123`, `stuff-456`, etc.?

Also, Playwright looks dope. Gonna test it tonight.

Thanks again!!

Messages In This Thread



Users browsing this thread: 1 Guest(s)