Is there a way to expand all elements in the elements view of the Chrome WebKit inspector?
-
I don't know, but I'm wondering myself and I just found this question through Google. Did you ever find out? – GMA Oct 31 '13 at 04:27
7 Answers
If you hold ctrl + alt for windows (just opt on a mac) while clicking on the arrow of the element you want to expand, it will expand and all of its children will expand. So, if you ctrl + alt click on the <html>
tag, that should expand the entire page.
This Link lists the keyboard shortcuts for chrome dev tools, including that one.

- 27,855
- 8
- 56
- 94

- 2,762
- 5
- 25
- 36
-
9
-
Saved me a few attempts, trying to screenshot code before the redirect timer kicks in :D – Pierre Sep 12 '16 at 06:32
-
1
-
Here's how i've decided to do it:
Highlight the element tag I wish to inspect, if it's the whole (expand all) the requirement, then highlight <body>
tag, click F2.
Note: F2 is actually the shortcut for 'Toggle edit as HTML'. You can directly make any change in this mode, changes are reflected on web page. You may right-click within this new code view-window and enable/disable wordwrap.

- 59
- 1
- 2
-
-
It works, thanks. An additional wish is for that editable content to be formatted. – CuongHuyTo Aug 28 '14 at 09:28
On Chrome while clicking the arrow in the source-code, will expand all children elements.
- ALT + Click the Drop Arrow = Unwrap One level by one
- ALT + CTRL + Click the Drop Arrow = Unwrap "All" Level at once

- 11
- 1
- 2
Click on the element:
- Alt + Right Arrow (Expand)
- Alt + Left Arrow (Collapse)
You can move around with the Arrow keys and using Tab.

- 2,976
- 1
- 22
- 23
I found just right clicking on the tag and selecting "Expand Recursively" worked for me. I'm using Chrome Version 66.
You can also right click and "Collapse Children" to collapse it all again.

- 442
- 1
- 10
- 30
these approaches seem convoluted, all you have to do to make all the arrow symbols change from pointing towards the right to pointing down is click the html tag and in the dropdown box click "expand recursively"