added getElementsInSelectorString for better accuracy of SelectorLengthCheck