Generates a unique XPath selector for a given DOM element.
Constructs an instance of XPathSelectorGenerator with the specified options.
Optional
Partial options to customize the behavior of the selector generator.
Generates a unique XPath selector for the provided element.
The DOM element for which to generate an XPath selector.
A unique XPath selector string.
Will throw an error if a unique XPath cannot be generated.
Generates a unique XPath selector for a given DOM element.