Capture Text From Front Browser

I am trying to capture the text from a web page.

If I use cmd>shift>4 I get these results:
Household Members
(Name) Age Relationship
James B Rose 54 Head
Julia A Rose 52 Wife
John F Rose 22 Son
Lee Rose 17 Son
Sanford B Rose 15 Son
Pearl Rose 13 Daughter
Vinnie Rose 11 Daughter

When I try to use this action: %FrontBrowserJavaScript%document.body.innerText%

I get this which seems to have removed some of the text formatting?

Household Members (Name) Age Relationship

James B Rose

54

Head

Julia A Rose 52 Wife

John F Rose

22

Son

Lee Rose

17

Son

Sanford B Rose

15

Son

Pearl Rose

13

Daughter

Vinnie Rose

11

Daughter

Save

How can I capture the text and get the actual formatting as shown on the cmd>Shift>4

Thanks
Roger