Updated find method to use parseSelector instead of relying on querySelectorAll