It would be nice to be able to find elements based on whether or not the element is visible, using the inline visibility property, or the inline Display property, or the CSS property. This matches what jQuery can do today: $('#testSpan2:visible') The above tests all possible combinations and returns a value based on whether or not the target element is visible. From ticket 865800