Lesson - What can DevTools do?
Chrome DevTools can do so many things. Sometimes it's more important to know what a tool can do than knowing exactly how to do it!
๐ก Note: Chrome extensions often mess with the DevTools data, leading to
inaccurate reporting! If you're going to run any important audits,
make sure you have all of your extensions disabled
or use an Incognito tab!
A walk through the panels
-
Elements ๐งช
- View HTML and CSS
- Add/Change classes and IDs
- Update Styles
- Color Picker
- Simulate Events
-
Network ๐
- View all files sent from server
- Measure page load performance
- Watch your site load in real time
- Inspect request / response data
-
Performance ๐
- The scary one!
- Record CPU and Memory usage
- Inspect threads
- Spot page jank
-
Console ๐ฎ
- The friendly one!
- JavaScript REPL
- Interact with the DOM
- Most recent DOM selection
-
Sources ๐
- A full IDE
- Step through debugger
-
Application ๐ผ
- Application storage
- Check PWA features
- Clear cache
-
Memory ๐ค
- Generate memory snapshots
- Find and fix memory leaks
-
Lighthouse ๐ข
- Full website audit
- Check Performance, SEO, Accessibility
-
Also โ
- Emulate devices
- Simulate network conditions
(It's worth noting that Chrome DevTools also allows you to Remote debug web apps on any Android* device. You can find information on how to do that here)