why I can't get the google chrome CSS Grid Inspector? - google-chrome

I've been trying to use the CSS grid inspector for google chrome dev tools. However, I can get neither the grid label aside of the element(as the dev tools must show) nor the Layout panel where I should be able to play with grid gaps, rows, etc.
How can I enable/use them?
Google Chrome Version 86.0.4240.75 (Official Build) (64-bit)
Article I've tried to follow: https://developers.google.com/web/tools/chrome-devtools/css/grid

The way to enable the feature isn't documented very well.
Select Control+Shift+I (Windows, Linux) or Command+Option+I (macOS)
Select Shift+? to show the Settings panel
Navigate to Experiments and...
Check "Enable new CSS Grid debugging features (configuration options available in Layout sidebar pane in Elements after Restart)"
After restarting the Dev Tools you should see small grid-tags in the Element Explorer and the new Layout pane in the Dev Tools sidebar.
HTH
BTW it should be default by version 87...

Took me a while as well, but here's the step-by-step:
Open Developer Tools and click on the cogwheel (Settings)
Select the tab Experiments and then check "Enable new CSS Grid debugging features"
The Layout tab appears as the last item

Related

"Show Maximize Button" property not working in Chrome Version 62

"Show Maximize Button" property not working as its suppose to in Chrome browser. I am using Oracle APEX 5 and Chrome Version 62.0.3202.94 (Official Build) (64-bit). It is working in IE and Firefox but not in Chrome. I have created a sample page here --> Oracle APEX Workspace
You will notice that the region hides and blank screen appears when maximize button is clicked. The region appears again if you try to resize current browser window or change any CSS property from Chrome Developer Tools.
I know a temp. workaround to fix this but looking for permanent solution.

Selenium run chrome in mobile mode

Is there any possibility to run mobile version of chrome using ChromeDriver in Selenium, I mean something like emulation in Inspect element options?
Try --window-size=360,640 option, full option list
I think Appium can run against mobile Chrome for Android, via emulation of some description. But I've never run it myself so can't offer more than a general pointer in that direction. Sorry!
If you're just looking to emulate mobile chrome for inspection purposes, you could always use the normal computer version of Chrome and set it to emulate a mobile device. To access the emulation settings, press F12 then click the Show Drawer button and then the Emulation tab.
If you're looking to run scripts against mobile Chrome, then you'll need to use something like Appium as the previous answer suggested.

Seeing topographical information in Chrome

The Firefox Web Developer's Toolbar had an option under Information to see the topographical information about a page: what's inside of what. Is there any way to see that with Chrome's Dev Tools?
I installed the Web Developer's Toolbar on Chrome but can't see any way to turn the toolbar on. Then I found something from 2013 about Google disabling toolbars.
So, is there a way to see what elements are inside of what elements with Chrome?
I'm using Chrome 34.0.
Thanks
The Pendule Chrome extension has a Topographic View which works like the Firefox one.
And about the Web Developer extension in Chrome, after you install it, you'll be able to enable it from chrome://extensions/, it will show a gear icon button at the top right of the screen.
According to William Price's comment, something that was once called "Tilt" in FireFox is meant. We considered doing the same thing, but since it was impossible to correctly display overlapped elements' contents (IIRC, Tilt had the same issue), we abandoned that idea. Instead, we've got the Layers panel, which displays compositing layers (see Layer composition in the chrome dev tools).

Customise the look of the Chrome web inspector

I've grown tired of the multitude of issues I seem to hit on a daily basis with Firefox and I'm trying once again to switch to Chrome.
One of the things that frustrates me is the layout of the tabs in the inspector. In firebug they are all along the top so if I want the metrics of an item it's incredibly simple. In Chrome I'm forever scrolling up and down.
Is there anyway to change the way this works? All I want to do is change the layout to something a little similar to Firebug.
Cheers!
The Chrome web inspector is just a web application, so is very customizable. You can download a copy of the devtools HTML/CSS/JS and tell Chrome to use it with a command line flag. Some resources for you:
Running your own devtools frontend
Customizing look and feel of elements tab
Related SO question: Chrome "Developer Tools" element - hide annoying yellow dimensions box
List of Chrome command line flags
The devtools CSS is at chrome-devtools://devtools/devTools.css (copy and paste the address into the address bar).
Override the styles using Custom.css which lives at:
C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets on Windows
~/Library/Google/Chrome/Default/User StyleSheets on OS X
Dev tools are just CSS/JavaScript so you can do whatever you want.
If you watch this video, Paul Irish shows how to run a build of Chrome and point to your own dev tools code. Kind of cool!

Does IE7 have a "developer mode" or plugin like Firefox/Chrome/Safari? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Debugging JavaScript in IE7
Firefox has Web Developer plugin and Firebug for troubleshooting html/css/javascript issues. Google Chrome and Safari have a very similar console and right-click options for "Inspect Element".
Does IE7 have anything similar for troubleshooting layout/html/css issues?
Yes - The Internet Explorer Developer Toolbar
Download details: Internet Explorer Developer Toolbar
You can also use Firebug Lite, wich works on IE, Opera and Safari.
It's a Javascript implementation that you can load with a simple bookmarklet.
As SO doesn't allow Javascript, here is the bookmarklet source code (just copy paste to your browser location bar (always make sure it's safe before executing random javascript (In any case check the first link)))
javascript:var%20firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);
Firebug Lite supports all basic commands of Firebug.
I have also used Debug Bar.
Check out the IE Developer toolboar.
Web Development Helper
Web Development Helper is a free browser extension for Internet Explorer that provides a set of tools and utilities for the Web developer, esp. Ajax and ASP.NET developers. The tool provides features such as a DOM inspector, an HTTP tracing tool, and script diagnostics and immediate window.
Web Development Helper works against IE6+, and requires the .NET Framework 2.0 or greater to be installed on the machine.
Once installed, the tool can be activated using the Tools | Web Development Helper command. You can also customize your browser's toolbar to add a button for this command to facilitate frequest use. Clicking on the menu command or browser button brings up the tool's console window and set of commands.
Page Features:
DOM inspector allows viewing all elements, selected elements, or elements matching an ID or CSS class, their attributes and styles.
Capturing a screen shot of the current page.
Viewing page information such as metadata, tags, and linked resources. .......
unfortunately it seems microsoft have discontinued it, the page for the toolbar now just says 'We are sorry, the page you requested cannot be found.'
I reckon because its built into 8 they have removed it for download, and cant be bothered with helping out us devs who are forced to make our projects work in their more archaic browsers :'(
Also before anyone says it, IE8 compatability mode != IE7
There's a toolbar you can get but it still doesn't match up to Firefox, especially for javascript debugging.
IE8 will be a huge improvement for development.
The following is specifically for IE7, other versions are probably similar.
Here is the new link to the developmment tools from microsoft.(as of 4-26-2011) IE Development Tools
Once installed, you will need to enable the toolbar.
To Enable, click on Tools | Manage Add-Ons | Enable or Disable Add-ons, to enable the addon.
To add the icon to the IE Toolbar, right click on the IE menu | Customize Command Bar | Add or Remove Commands. Add the "< (arrow) >" icon.
Hope that helps.
You can also use IE watch, which is like firebug, but you need to buy it. It is a 30 days trail version.
Actually, the best add-on for developers to IE would be Fiddler. It has a number of features that the other browsers possess.