/*global $*/
module.exports = function(page) {
    return page.evaluate(function() {
            const exception = $(".strong.title")[0].childNodes[1].textContent;
            const info = $(".info.normal")[0].textContent;

            return {
                exception: exception,
                info: info
            };
        });
};
/*global $*/
module.exports = function(page) {
    return page.evaluate(function() {
        var exception;
        const info = document.querySelector(".info.normal").textContent;
        const exceptionChildNodes = document.querySelector(".strong.title").childNodes;

        for (var i = 0; i < exceptionChildNodes.length; i++) {
            if (exceptionChildNodes[i].nodeType === Node.TEXT_NODE) {
                exception = exceptionChildNodes[i].textContent;

                break;
            }
        }

        return {
            exception: exception,
            info: info
        };
    });
};
Use vanilla JS in exception scrapper
Use vanilla JS in exception scrapper
