Code:
myLayout = app.activeLayout();// Get the active layout
pageHtml = myLayout.getDOM();
console.log(pageHtml);
I can't get table elements inside the DOM. I can only get the table inside the DOM if the table is converted to text.
Can you please check this?
