How can I copy all text in Chrome's "Elements" inspector?

10,803

I've found the answer to my question. The solution is mentioned obliquely in parentheses in step one of the following answer:

You have to right-click the topmost <html> element, and then click Edit as HTML.

The full code will now exist in a standard, editable text field, where you can finally Select All and Copy the text contents to the clipboard.

Share:
10,803
rubik's sphere
Author by

rubik's sphere

i am cube's younger sibling, sphere i do not envy my brother's notoriety and international status as a symbol of complexity he is such a square

Updated on June 19, 2022

Comments

  • rubik's sphere
    rubik's sphere almost 2 years

    I would like to copy all of the expanded code found in the "Elements" pane of Google Chrome's WebKit inspector to my clipboard. I'm on OS X.

    Here is a screenshot of this pane (on the left side of the screen):

    It appears that I am only able to select individual lines or sections, but not the entire text.