tasks/datadriver.js
function(result, callback) {
                grunt.log.debug('end selenium session');

                // Restore grunt exception handling
                unmanageExceptions();

                // Close Remote sessions if needed
                GLOBAL.browser.end(next(callback, result === 0));
            }
function(result, callback) {
                grunt.log.debug('end selenium session');

                // Restore grunt exception handling
                unmanageExceptions();

                // Close Remote sessions if needed
                GLOBAL.browser.end(next(callback, result === 0));
            }
end selenium session