How can you select elements under "::before" and "::after" psudo-elements? #138
Unanswered
supercom32
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This is just a friendly check-in to mention that I have still not found any way around this issue. I've tried various ideas to see if I could get around this, but I haven't been successful thus far. I will keep trying and see if there is something that might lend a hint as to what works. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
So I noted that when trying to craft an XPath to an element that was under a psudo-element (For example "::before"), I was unable to do so. I assume this is impossible, since the element is manipulated and inserted into the DOM after the fact? I attempted to select ":before" to see if it maybe returns me an element (that I could then do an XPath search under), but I wasn't successful, nor do I suspect that method is correct.
Is there an example of selecting an element under a psudo-element, like "::before", so that you can search for elements using regular methods like XPath?
Beta Was this translation helpful? Give feedback.
All reactions