how to get all html elements in chrome, not source code : i am doing a chrome extension,

in Chrome browser inspect elements, at the bottom will show all elements of the html page.
how can i get all the elements?
the source code not include all elements.

how can i get all elements shown in inspected elements in my chrome extension?
