Skip to content

FindByTag "<tag>" with text "<text>" #28

@iantmoore

Description

@iantmoore

This will only look for an element that has the specified text immediately beneath it, so if there's a nested tag inside, it will fail.
the contains text version also has the same problem.
I think the generated xpath should be $x("//[descendant::*[contains (text(), '')]]")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions