One thing I have been doing is adding id attributes to h2 elements on each screen so that we can search for specific elements instead of text matches.