I’m a beginner, and couldn’t find the answer after searching.
In my example, I’m looking for an
<a href="bla" onclick="dah">some text here</a>
I’d want to find this particular element, so I can do stuff with it.
Edit: The only thing I know that’s unique about the element for sure, is the text “some text here”, that’s why I want to find it based on that.
Put id on the element:
From javascript: