How do you expand all elements in the WebKit Inspector elements view? How do you expand all elements in the WebKit Inspector elements view? google-chrome google-chrome

How do you expand all elements in the WebKit Inspector elements view?


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.


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.