• Given a child DOM element, returns a query-selector statement describing that and its ancestors e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]

    Parameters

    • elem: unknown
    • options: string[] | {
          keyAttrs?: string[];
          maxStringLength?: number;
      } = {}

    Returns string

    generated DOM path

Generated using TypeDoc