Home | Archives | Gallery | Links | Portfolio | About | Contact | RSS Feed

Web Inspector for WebKit

January 18th, 2006

screengrab of webkit in action on my siteA great new addition to WebKit—the Web Inspector. It lets you browse the live DOM hierarchy in a compact HUD style window, catering to the needs of web developers. The Web Inspector highlights the node on the page as it is selected in the hierarchy. Search for nodes by node name, id and CSS class name is also possible within the same window! Whoa!! I like it already!

Download the nightly build from http://webkit.opendarwin.org/blog/?p=41 and run the followinf in Terminal.

defaults write com.apple.Safari \
WebKitDeveloperExtras -bool true

And you should be set to go. You’ll then see a new “Inspect Element” contextual menu item on any web page. This will open up the Web Inspector and refocus to the node under your cursor.

2 Responses to “Web Inspector for WebKit

  1. Mark Rowe Says:

    If you use a nightly build from http://nightly.webkit.org/ you don’t need to run the defaults command you mentioned — the nightly knows to enable the Web Inspector already.

  2. Amit Says:

    Thanks Mark, even better I say!! Go Webkit!

What do you think?