Create a test helper to get the text of an element.
Create a test helper to get the text of an element.

It tries the standard way (textContent) first and falls back to innerText on IE7.

webmat/sugar_dom