javascript/selenium-core/scripts/htmlutils.js
function setText(element, text) {
    if (element.textContent != null) {
        element.textContent = text;
    } else if (element.innerText != null) {
        element.innerText = text;
    }
}
function setText(element, text) {
    if (element.textContent != null) {
        element.textContent = text;
    } else if (element.innerText != null) {
        element.innerText = text;
    }
}
function setText ( element , text ) { if ( element . textContent != null ) { element . textContent = text ; } else if ( element . innerText != null ) { element . innerText = text ; } }
Sets the text in this element
Sets the text in this element