What's New In DevTools (Chrome 74)

Welcome back! Here's what's new.

Video version of this page

Highlight all nodes affected by CSS property

Hover over a CSS property that affects a node's box model, such as padding or margin, to highlight all nodes affected by that declaration.

Hovering over a margin property highlights all nodes affected by that
            declaration
Figure 1. Hovering over a margin property highlights the margins of all nodes affected by that declaration

Lighthouse v4 in the Audits panel

The new Tap targets are not sized appropriately audit checks that interactive elements like buttons and links are appropriately large and spaced apart on mobile devices.

The tap targets audit
Figure 2. The tap targets audit

The PWA category of a report now uses a badge scoring system.

The new badge scoring system for the PWA category
Figure 3. The new badge scoring system for the PWA category

WebSocket binary message viewer

To view the contents of a binary WebSocket message:

  1. Open the Network panel. See Inspect Network Activity to learn the basics of analyzing network activity.

    The Network panel
    Figure 4. The Network panel

  2. Click WS to filter out all resources that aren't WebSocket connections.

    After clicking WS only WebSockety connections are shown
    Figure 5. After clicking WS only WebSockety connections are shown

  3. Click the Name of a WebSocket connection to inspect it.

    Inspecting a WebSocket connection
    Figure 6. Inspecting a WebSocket connection

  4. Click the Messages tab.

    The Messages tab
    Figure 7. The Messages tab

  5. Click one of the Binary Message entries to inspect it.

    Inspecting a binary message
    Figure 8. Inspecting a binary message

Use the dropdown menu at the bottom of the viewer to convert the message into Base64 or UTF-8. Click Copy to clipboard Copy to clipboard to copy the binary message to your clipboard.

Viewing a binary message as Base64
Figure 9. Viewing a binary message as Base64

Capture area screenshot in the Command Menu

Area screenshots let you capture a screenshot of a portion of the viewport. This feature has been around for a while, but the workflow for accessing it was quite hidden. Area screenshots are now available from the Command Menu.

  1. Focus DevTools and then press Control+Shift+P or Command+Shift+P (Mac) to open the Command Menu.

    The Command Menu
    Figure 10. The Command Menu

  2. Start typing area, select Capture area screenshots, then press Enter.

  3. Drag your mouse over the section of the viewport that you want to screenshot.

    Selecting the portion of viewport to screenshot
    Figure 11. Selecting the portion of viewport to screenshot

Service worker filters in the Network panel

Type is:service-worker-initiated or is:service-worker-intercepted in the Network panel filter text box to view requests that were caused (initiated) or potentially modified (intercepted) by a service worker.

Filtering by is:service-worker-initiated
Figure 12. Filtering by is:service-worker-initiated
Filtering by is:service-worker-intercepted
Figure 13. Filtering by is:service-worker-intercepted

See Filter resources for more on filtering network logs.

Performance panel updates

Performance recordings now mark up long tasks and First Paint.

Check out Do less main thread work for an example of using the Performance panel to analyze page load performance.

Long tasks in Performance recordings

Performance recordings now show long tasks.

Hovering over a long task in a Performance recording
Figure 14. Hovering over a long task in a Performance recording

First Paint in the Timings section

The Timings section of a Performance recording now marks First Paint.

First Paint in the Timings section
Figure 15. First Paint in the Timings section

New DOM tutorial

Check out Get Started With Viewing And Changing The DOM for a hands-on tour of DOM-related features.

Feedback

Was this page helpful?
Yes
What was the best thing about this page?
It helped me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had the information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had accurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was easy to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
No
What was the worst thing about this page?
It didn't help me complete my goal(s)
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was missing information I needed
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It had inaccurate information
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
It was hard to read
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.
Something else
Thank you for the feedback. If you have specific ideas on how to improve this page, please create an issue.

To discuss the new features and changes in this post, or anything else related to DevTools:

  • File bug reports at Chromium Bugs.
  • Discuss features and changes on the Mailing List. Please don't use the mailing list for support questions. Use Stack Overflow, instead.
  • Get help on how to use DevTools on Stack Overflow. Please don't file bugs on Stack Overflow. Use Chromium Bugs, instead.
  • Tweet us at @ChromeDevTools.
  • File bugs on this doc in the Web Fundamentals repository.

Consider Canary

If you're on Mac or Windows, consider using Chrome Canary as your default development browser. Canary gives you access to the latest DevTools features.

Discover other DevTools features

Below is a list of everything that's been covered in the What's New In DevTools series.

Chrome 72

Chrome 71

Chrome 70

Chrome 68

Chrome 67

Chrome 66

Chrome 65

Chrome 64

Chrome 63

Chrome 62

Chrome 61

Chrome 60

Chrome 59

rss_feed Subscribe to our RSS or Atom feed and get the latest updates in your favorite feed reader!