Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome developer tools won't inspect elements within body tag (mac OSX)

Has anyone else experienced problems with chrome developer tools for OSX not showing any elements / html inside the body tag?

I inspect an element as normal, but instead of seeing the html, I just get the body tag, which cannot be expanded or opened in any way (see attached pic). This makes dev tools useless for css debugging.

I have tried

  • deleting and reinstalling Chrome (latest version)
  • Resetting Chrome to its defaults
  • Restarting my computer
  • refreshing and hard refreshing the page

This is all the information I can get, for any element within the body tag :

enter image description here

like image 749
Leon Avatar asked Apr 23 '18 15:04

Leon


People also ask

How do you inspect element in Chrome on a Mac?

To inspect elements you have to right-click any part of a webpage and click Inspect > Inspect Element. Alternatively, you can press Command+Option+i on your Mac or F12 on your PC to do the same.

Why does inspect element not working on Chrome?

It might be a cache issue. After opening Developer Tools(F12) in Chrome, refresh cache by pressing Ctrl + F5. Show activity on this post. There may be another panel open.

How do I enable Developer Tools in Chrome on Mac?

To open the developer console window on Chrome, use the keyboard shortcut Ctrl Shift J (on Windows) or Ctrl Option J (on Mac). Alternatively, you can use the Chrome menu in the browser window, select the option "More Tools," and then select "Developer Tools."


1 Answers

It's not a solution but you can do alt+r to refresh devtools and it fixes the problem temporarily.

like image 52
Amituuush Avatar answered Sep 25 '22 00:09

Amituuush