Skip to content

Selecting parents #592

Open
Open
@glyh

Description

Feature goal

When I encounter some webpage like this:

<x><y>hey</y> wat</x>

I want to select the tag x, and get the text " wat". The characteristic for this tag is that it's a parent of some other tag containing text "hey".

There doesn't seem to be one help me to do so. For now I just use "E:nth-of-type" to find it by index, but this seems fragile as once the element moves this will break.

Dependencies

None

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions