by ok123456 · 3y ago · 0 comments
css:
div:has( > \* > \* > \* > \* > \* > \* > \* > #the-child) (backslashes added by hn because of formatting conflict)
//div[@id="the-child"]/../../../../../../../..