Changed getTextContent to getInnerText, and changed setTextContent to setInnerText.