Network area (lost content) - google-chrome-devtools

Usually i have size/content to show you what the size of the uncompressed data when your response is getting compressed. I have seemed to have lost this on one computer. I just have "size". Does anyone know how to get this back without having to try to reinstall chrome (i have the latest version of google chrome for windows (37.0.2062.120 m (64-bit))

You have activated the compact view by clicking on the "Use small resource rows" icon.
Click on the "Use large resource rows" icon to toggle this setting (the fourth icon in the top-left corner).
Small resource rows
Large resource rows
Next time, when you get stuck with an unwanted devtools setting, you could also open the options of the devtools (gear icon), scroll down at the General tab and click on the "Restore defaults and reload" button to reset all devtools settings to their default values.

Related

Chrome network tab not showing the full url on hover

Earlier when i used to hover on a request in network tab, the tooltip used to show the full url, but i am not able to do that now. is there any way to enable it:
Open network panel settings (the second cog more to the right on your screenshot) and check/uncheck "Use large request rows". After that the URL preview on hover started to magically work for me again (I had the same problem). If not, you can at least keep the large rows on as a last resort.

Chrome DevTools: Close Lighthouse-Report

I'm not sure if this is the right location to ask...
I am frequently using Chrome DevTools for debugging. Now I saw that there was a new tab "Lighthouse" and I started to generate a report.
It turned my Webpage into a mobile view. When I close DevTools it resets but every time I restart my Chrome DevTools it automatically turns the Webpage into mobile view.
How do I stop this lighthouse report while still using DevTools?
Although this is about using software (so should probably be on superuser.com) it is an easy one to answer so I will answer then vote to close the question.
In the very top left of the developer tools window you will see two icons. The second icon is for mobile emulation, the one located right next to the "Elements" tab.
On your screen this will be blue as you have it activated, simply click this to remove mobile device emulation.
On Lighthouse itself if you want to test the Desktop version of the site you will see some options before you run the report, you will see "Device" and two radio buttons, just change it to "Desktop"

How to hide the "filmstrip" in DevTools?

In the "network" tab of DevTools, a film strip has appeared below the filter, and above the list of files:
It hides the list of files unless the DevTools window is several hundred pixels high, so now I spend a lot of time resizing my browser window trying to see the list of files. How do I hide it?
I've been hunting through the options, but can't find any option to disable or hide the filmstrip.
Now you can do this:
Select "Network Settings" (see figure)
Uncheck "Show overview"
Touch again "Network Settings" and ready

Google Chrome color picker isn't responding

Google Chrome color picker isn't responding. I tried re-installing and resetting Chrome. How can this be resolved?
"Reset devtools" doesn't fix the issue. I am not entirely sure what the exact cause of this bug is, but the only fix available will need to be done in an update. I could not find it in the code itself, although I didn't spend much time looking.
The main issue is that when your dev tools are docked to the bottom of the window, then the color picker will not show. It will load though, but the interface wont show. More than likely it is either in the wrong layer, or has some issue with its actual display, as no errors are thrown.
Anyway, the reason resetting dev tools works is because the default setting is to dock the dev tools to the right side of the screen (presumably, their testing showed most users use a wide screen, multiple screen, setup; as a result, there is room on the side of the screen).
If you, like me, use dev tools docked to the bottom, then in order to see the color picker, you need to change the dev tool temporarily to be docked to the right side of the screen. This does not require the settings to be reset, just simply change the docking position.
if your color picker not working on your mouse pointer, then you have to change your display settings, if your display settings are at scale 125 or more then your color picker won't work in any of the browsers, if you change your display setting to 100% your color picker will automatically start working
Changing the window size brings back the color picker. If the window is full screen size, get out of full screen size.
The solution that worked for me is:
Get out of full screen mode (Un-maximize window).
Reduce the window size, specially the width.
Docking the dev-tools to right side, Scaling the display, Lowering display resolution also brings the color-picker back as all of these affects the browser window size. Hopefully this bug will be addressed soon.
Open the inspect elements -> go to settings -> Preferences -> scroll down to the end you will see button "Restore defaults and reload" -> click on it and it will work
I had the same issue on Chrome 108.0.5359.98 on Arch for a long time now.
The problem was fixed by simply unchecking one of the experiments in DevTools - Settings - Experimets - Enable color picking outside the browser window.
scale your display settings to 100 % and again re scale to 125%(recommended).
For me chaning the Devtools zoom size worked not the webpage size.
Ctrl + Mouse wheel zooms in or out on the dev tools dock.
The problem is quite simple. You are unable to use the color picker because you have enabled the mobile view or any other device view
and, you got the answer, you just need to close the device toolbar and you are good to go.
Hope that works 😃

Is there a way to open Chrome Dev tools to a new window right away?

Anyone know of a way to open Chrome Dev tools to a new window upon open?
I know that I can click F12 and then click the 'customize' button and change orientation or pop out the dev tools window. But that's an extra step, and often a window resize is necessary, and when you do it 50 times a day, it gets to be tedious.
Also, sometimes, on pages I'm testing, pressing F12 will change the layout of the elements on the page and even popping out the dev tools leaves the page layout different than before I opened dev tools. This can make it hard to tell if an element is visible or not, which makes troubleshooting Webdriver more difficult.
Ideally, CTRL+F12 or something to open dev tools as a separate window would be super handy. (to any Chromium devs that might be listening ;) But if anyone has another solution, I'd love to hear it.
If you have your DevTools un-docked, the dock mode, size and position of your DevTools window will remain the same as you previously set it. For example, I just set mine to be maximised on my other monitor. Every time I open up DevTools, it's an un-docked, maximised window, and there's no change to the layout of the inspected window other than the fact it's no longer in focus.
You could alternatively launch Chrome using the --auto-open-devtools-for-tabs flag, which will automatically open DevTools in the dock mode, size and position you had it previously. You can use:
Mac:/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --auto-open-devtools-for-tabs
Windows: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --auto-open-devtools-for-tabs
In WebDriver, you can set flags for how Chrome opens. However, after looking into this further, it turns out Chrome currently do not support multiple clients connected to the protocol simultaneously.
As for speeding things up, you can switch between dock positions with Cmd+Shift+D (Mac) or Ctrl+Shift+D (Windows). This toggles between the last two modes you have used, so say you have it docked at the bottom, you then pop it out, using the shortcut now will toggle between the two.
Here's how you do it. On opening the developer tools, with the developer tools window in focus, press F1. This will open a settings page. Check the "Auto-open DevTools for popups".
Originally documented here -- https://newbedev.com/automatically-open-chrome-developer-tools-when-new-tab-new-window-is-opened.