An example using jQuery's andSelf, filter, and find functions to locate an element starting with the element itself instead of only looking at its descendants.
As we write more high-level system tests, we find ourselves wishing we had the ability to search our DOM using CSS selectors and other cool jQuery tricks.