The Bug in Google Chrome

3 September 2008 - 12:09

Shortly after I finished writing about my first impressions of Google's new browser, Chrome, I discovered a gem of a feature. Chrome has much of the functionality of Firefox's Firebug built into it. This is a great addition, which may make Google Chrome a lot more popular with webmasters than I at first supposed. However, I still think it needs support for extensions before it will become the browser of choice for power users.

In case you don't know, Firebug is a set of web development tools that integrate with Firefox. It lets you inspect, edit and debug CSS and Javascript in a web page. When you're having trouble making some element of a page look how you want, Firebug lets you get straight to the bit of CSS that is causing the problem.

Right-click an element on the page, click "Inspect element" and voila! The screenshot below shows what you get. It should be immediately familiar to Firebug users.

Element Inspector in Google Chrome


But wait, there's more! Click the Resources button and refresh the page. The inspector then shows you the size and time taken to load each element of a page, so you can see what elements are dragging down the speed of loading.

You can get more information from Google Chrome by typing about:option into the browser address/search bar.

  • about:version displays the version number of the software (it's only 0.2 at the moment!)
  • about:plugins shows you the installed plugins.
  • about:cache lists the contents of the browser cache.
  • about:memory shows you the amount of memory being used to display each page opened in a tab. This information can also be displayed in a stay-on-top task manager window accessed under Developer from the main menu.
  • about:network gives to some tools to watch what goes on when you open a web page.

Several other options are most likely only going to be useful as debugging aids for Google Chrome's developers, and may disappear when the version reaches a whole number:

  • about:dns gives you some statistics about the browser's caching of DNS lookups.
  • about:histograms shows some graphed statistics of various things going on in the software.
  • about:stats shows even more useless information!

Google has traditionally been helpful towards web developers, providing various online tools to help webmasters and designers improve and track website performance. It is going to be interesting to see the extent to which this attention is carried over into Chrome, the Google web browser.

Used tags: , , , , , ,

« Chrome plated | Home | Free software can be … »


four comments

If you like Chrome’s stripped down Web Inspector, you will love the original, full featured version in the WebKit nightlies. Cheers!
Timothy Hatcher (URL) - 4 September 2008 - 06:09

Actually Firebug has tons more functionality in addition to inspecting. It’s ability to change html element attributes and css on the fly, debug JS, step-by-step JS execution, inspection of Ajax requests/responses/headers/fields and many more is unsurpassed. So if you are developing a heavy Web 2.0 application there is no way you can substitute Firebug with Google Chrome inspector and debugger.
innue () - 4 September 2008 - 09:31

How to debug in Google Chrome

Since Google Chrome documentation about debuging is still to come and Google Chome doesn’t have a Firebug extension, I just wrote a short article explaining how to use the different tools “for developers” available in Google Chrome.

Please take a look at the article (Pictures are self explanatory, but text is in Spanish)

“Depurar Aplicaciones y Páginas Web con Google Chrome”
http://www.tecsisa.com/index.igw?item=16..

I would be glad to add, edit or do changes as information arrives, so feel free to give feedback.

Javier
Javier () (URL) - 4 September 2008 - 17:13

there are so many advantages and features with Chrome, such as it’s speed, for example; now if only they would take care it’s quirky cookie management…
media boy () (URL) - 17 September 2008 - 01:18

Trackback link:

Please enable javascript to generate a trackback url


Leave a comment
  
Remember personal info?

Emoticons / Textile
  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.