13

I'd like to expand all elements in inspect chrome supports.

How can I do this?

Is there any extensions or tool chrome supports?

Daniel Herr
  • 19,083
  • 6
  • 44
  • 61
Jin
  • 924
  • 1
  • 9
  • 34
  • 1
    duplicate of https://stackoverflow.com/questions/18410212/how-do-you-expand-all-elements-in-the-webkit-inspector-elements-view – MrE Nov 01 '17 at 20:36

2 Answers2

15

Expand / collapse node and all its children

Mac: Opt + Click on arrow icon

Windows: Ctrl + Alt + Click on arrow icon

To expand all elements, use the <html> element's arrow icon in the shortcut.

Source: Keyboard Shortcuts

Gideon Pyzer
  • 22,610
  • 7
  • 62
  • 68
  • Anyone know if there's a linux version of this? I've tried many key combinations, and none of them seem to work. – KnowsStuff Jul 11 '17 at 15:40
  • I'm struggling as to why this is not working for me. Even using the right-click menu option for the arrow on the element and choosing Expand All only open a single level below and not all children. Ideas? Been checking settings, have latest version – user875479 Nov 10 '17 at 18:41
  • This seems to have stopped working for (at least) version 61 :( – Rob C Nov 16 '17 at 19:33
  • Hold Alt then click Expand > is how you do it in version 64. – Jason Glisson May 18 '18 at 02:45
-2

I'm guessing you're trying to expand all elements in the console to perform a search. If that's the case, you can right-click on the logged element and save that log. Then open it in any text editor. But you have to right-click in an empty area of the logged element line. See picture. As mentioned in this discussion, it may be a lot, like, really a lot of information.

dmfte
  • 1