static getElementValue(element) {
        if (element.tagName.toLowerCase() === 'input') {
            return element.value;
        }

        return this.text(element);
    }
Retrieve the current element value.

@param {HTMLElement|HTMLInputElement|EventTarget} element
@returns {number|string|null}