Function makeXPathSelector

  • Creates an XPath selector that matches elements containing the specified text.

    Parameters

    • text: string

      The text content to match.

    • Optionaloptions: FilterOptions

      Optional filter options.

    Returns string

    The XPath selector string.