Is there a way to expand all elements in the elements view of the Chrome WebKit inspector?
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.
Alt
on Linux. –
Mithgarthr 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.
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
Click on the element:
- Alt + Right Arrow (Expand)
- Alt + Left Arrow (Collapse)
You can move around with the Arrow keys and using Tab.
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"
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.
© 2022 - 2024 — McMap. All rights reserved.