Google messages updated their divs. Use this:
(function() { var originalContents = document.body.innerHTML; var printReport= document.querySelector("body > mw-app > mw-bootstrap > div > main > mw-main-container > div > mw-conversation-container > div > div > div > mws-messages-list") document.body.innerHTML = printReport.innerHTML; document.body.style.display = 'block'; document.body.style.overflow = 'visible'; window.print(); document.body.innerHTML = originalContents;}())