What's New In DevTools (Chrome 72)

New features and major changes coming to Chrome DevTools in Chrome 72 include:

Video version of these release notes

Visualize performance metrics

After recording a page load, DevTools now marks performance metrics like DOMContentLoaded and First Meaningful Paint in the Timings section.

First Meaningful Paint in the Timing section

Figure 1. First Meaningful Paint in the Timing section

Highlight text nodes

When you hover over a text node in the DOM Tree, DevTools now highlights that text node in the viewport.

Highlighting a text node

Figure 2. Highlighting a text node

Copy JS path

Suppose you're writing an automation test that involves clicking a node (using Puppeteer's page.click() function, perhaps) and you want to quickly get a reference to that DOM node. The usual workflow is to go to the Elements panel, right-click the node in the DOM Tree, select Copy > Copy selector, and then pass that CSS selector to document.querySelector(). But if the node is in a Shadow DOM this approach doesn't work because the selector yields a path from within the shadow tree.

To quickly get a reference to a DOM node, right-click the DOM node and select Copy > Copy JS path. DevTools copies to your clipboard a document.querySelector() expression that points to the node. As mentioned above, this is particularly helpful when working with Shadow DOM, but you can use it for any DOM node.

Copy JS path

Figure 3. Copy JS path

DevTools copies an expression like the one below to your clipboard:


Audits panel updates

The Audits panel is now running Lighthouse 3.2. Version 3.2 includes a new audit called Detected JavaScript libraries. This audit lists out what JS libraries Lighthouse has detected on the page. You can find this audit in your report under Best Practices > Passed audits.

Detected JavaScript libraries

Figure 4. Detected JavaScript libraries

Also, you can now access the Audits panel from the Command Menu by typing Lighthouse or PWA.

Typing 'lighthouse' into the Command Menu

Figure 5. Typing lighthouse into the Command Menu

Download the preview channels

Consider using the Chrome Canary, Dev or Beta as your default development browser. These preview channels give you access to the latest DevTools features, test cutting-edge web platform APIs, and find issues on your site before your users do!

Getting in touch with the Chrome DevTools team

Use the following options to discuss the new features and changes in the post, or anything else related to DevTools.

  • Submit a suggestion or feedback to us via crbug.com.
  • Report a DevTools issue using the More options   More   > Help > Report a DevTools issues in DevTools.
  • Tweet at @ChromeDevTools.
  • Leave comments on our What's new in DevTools YouTube videos or DevTools Tips YouTube videos.

What's new in DevTools

A list of everything that has been covered in the What's new in DevTools series.

Chrome 127

Chrome 126

Chrome 125

Chrome 124

Chrome 123

Chrome 122

Chrome 121

Chrome 120

Chrome 119

Chrome 118

Chrome 117

Chrome 116

Chrome 115

Chrome 114

Chrome 113

Chrome 112

Chrome 111

Chrome 110

Chrome 109

Chrome 108

Chrome 107

Chrome 106

Chrome 105

Chrome 104

Chrome 103

Chrome 102

Chrome 101

Chrome 100

Chrome 99

Chrome 98

Chrome 97

Chrome 96

Chrome 95

Chrome 94

Chrome 93

Chrome 92

Chrome 91

Chrome 90

Chrome 89

Chrome 88

Chrome 87

Chrome 86

Chrome 85

Chrome 84

Chrome 83

Chrome 82

Chrome 82 was cancelled.

Chrome 81

Chrome 80

Chrome 79

Chrome 78

Chrome 77

Chrome 76

Chrome 75

Chrome 74

Chrome 73

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