I am trying to send an email, which is done with HTML and CSS, with Selenium, it appears that it can't get the page itself, only the text, or the code, so is there a way to copy the page.
Tried:

Sending Keys, (Keys.CONTROL + 'A').... (Keys.CONTROL + 'C') and assigning it to a var but didn't get what I want.

Constructing a field in the beginning and manually copy the content and paste it in the field, then getting its value, but same thing, it only gets the text.
I found it,
the Sending Keys,
(Keys.CONTROL + 'A')
(Keys.CONTROL + 'C') worked but I just needed to send (Keys.CONTROL + 'V') Not assigning it to a var
How to copy HTML content with Selenium