Nightwatch.prototype.getTagName = function (selector, cb) {
    return this._elementAction(selector, function (element) {
        return when(element.getTagName(), function (name) {
            return this._scopeCallBack(cb, [name, element]);
        }.bind(this));