Creates an instance of IdStrategy.
Configuration options for the strategy.
A function to validate the ID name.
Generates an XPath selector part for the given element based on its ID.
The DOM element for which to generate the selector.
A SelectorPart object if the element has a valid ID, otherwise null.
Strategy for generating XPath selectors based on the element's ID attribute.