How to locate element without using attributes - Any reliable methods? or What are the best ways to l

16 Replies, 859 Views

Subject: How to locate element without using attributes - Any reliable methods?

Hey folks!

Struggling here... got this element with ZERO attributes (ugh!). Tried the usual XPath/CSS stuff, but nada.

Anyone know how to locate element without using attributes? Like, are there any sneaky ways? Maybe by text content, position, or even JS tricks?

I’ve heard of `contains(text(),'blah')` but feels flaky. Also, is `nth-child` or sibling selectors worth trying? Or am I doomed?

Pls share any hacks or real-world tips. Desperate here!

P.S. If you’ve faced this, how’d u solve it? Thx in advance! 🚀

(Also, sorry for typos—typing too fast lol)

Messages In This Thread
How to locate element without using attributes - Any reliable methods? or What are the best ways to l - by - 17-09-2024, 05:14 AM



Users browsing this thread: 1 Guest(s)