I want to extract dynamic content from page, with exactly same as it is in webpage not plain text. I am using below block which gives the plain text but i need like attribted text.
function getDocumentTranslatedText() {
return document.body.innerText;
}
Any suggestion would be more helpful.