3 ms·
Now do that when you want the 8-th parent in a complex document.
by ok123456 3y ago
Now do that when you want the 8-th parent in a complex document.
- 411111111111111 3y agoI only did depth=1 because the syntax doesnt change, i still don't see a difference to speak of css: div:has( > \* > \* > \* > \* > \* > \* > \* > #the-child) (backslashes added by hn because of formatting conflict) xpath: //div[@id="the-child"]/../../../../../../../..