All tags
chrome
Narrow down
Web19
- Tip
user.id === 42Add a condition to a Chrome DevTools breakpointPauses the debugger on a line only when your condition is true.2 Dec 2026 - Tip
$x(path [, startNode])$x() runs an XPath query in the DevTools consoleFinds page elements with an XPath expression and returns them as an array.2 Dec 2026 - Tip
chrome://extensions/shortcutsSet keyboard shortcuts for browser extensions on one Chrome pageGive an extension its own key, or take a clashing one away.1 Dec 2026 - Tip
google-chrome --user-data-dir=/tmp/chrome-clean --no-first-runStart Chrome with its own user data folder for a clean test profileTest a site without your extensions, cookies and settings getting in the way.1 Dec 2026 - Tip
Windows and Linux: Ctrl+Shift+ACtrl+Shift+A in Chrome searches all your open tabsFind the right tab by typing part of its title or address.1 Dec 2026 - Tip
chrome://versionChrome://version shows which profile folder and flags Chrome is usingFind your profile folder and see the switches Chrome was started with.1 Dec 2026 - Tip
queryObjects(Promise)QueryObjects() in the DevTools console finds every instance of a classCount the live objects of one type while hunting a memory leak.1 Dec 2026 - Tip
inspect(document.querySelector('footer'))Inspect() jumps from the DevTools console to an element in the pageOpen the Elements panel on exactly the node your selector returns.1 Dec 2026 - Tip
'cart total', total, items.lengthChrome DevTools logpoints log a value without editing your codePrints a message to the Console each time a line runs, without pausing the page.28 Nov 2026 - Tip
Elements > right-click #results > Break on > Subtree modificationsBreak on subtree modifications finds the script that changes an elementPauses the page in the script that adds, removes or changes an element.28 Nov 2026 - Tip
monitorEvents($0, 'click')MonitorEvents($0, 'click') logs the events of the element you inspectedLogs the events fired on the element you last inspected, straight from the Console.28 Nov 2026 - Tip
getEventListeners($0)GetEventListeners($0) lists which handlers are attached to an elementShows every event listener registered on the element you just inspected.28 Nov 2026 - Tip
copy($$('a').map(a => a.href))Copy() in the DevTools console puts a result on your clipboardCopies the result of a console expression to the clipboard as text.28 Nov 2026 - Tip
console.table([...document.querySelectorAll('img')].map(i => i.src))DevTools Snippets keep your console code and run with Ctrl+EnterSaves JavaScript in DevTools so you can run it on any page with one shortcut.28 Nov 2026 - Tip
Ctrl+Shift+D bookmark all open tabs in a new folderCtrl+D bookmark the current pageCtrl+Shift+B show or hide the bookmarks barCtrl+Shift+D in Chrome bookmarks every open tab in one new folderSaves all tabs of the current Chrome window as bookmarks in a single new folder.28 Nov 2026 - Tip
Always keep these sites active > AddAdd a site to Memory Saver's keep-active list so Chrome stops freezing itKeep chosen sites from being put to sleep by Chrome's Memory Saver, using the always-active list.28 Nov 2026 - Tip
/api/ordersAn XHR/fetch breakpoint in DevTools pauses when a request URL matches a stringPauses the debugger on the line that sends a request whose URL contains your text.28 Nov 2026 - Tip
Ctrl+Shift+F > AuthorizationCtrl+Shift+F in DevTools searches all the files a page has loadedFinds a piece of text in every file the page has loaded, from one search box.28 Nov 2026 - Tip
Ctrl+1 ... Ctrl+8 tab 1 to 8Ctrl+9 last tabCtrl+9 in Chrome jumps to the last tab, whatever the number of tabsSwitches to the rightmost tab in the window, however many tabs are open.28 Nov 2026
Network8
- Tip
chrome://net-export/Chrome://net-export records a network log of everything Chrome doesCapture DNS, proxy and connection problems that the Network panel cannot explain.1 Dec 2026 - Tip
chrome://net-internals/#hstsChrome://net-internals can make Chrome forget a site's HSTS ruleReach a test site over plain HTTP again after Chrome insisted on HTTPS.1 Dec 2026 - TipLocal Overrides in DevTools let you test a response header without the backendEdits an HTTP response header in Chrome so you can test a fix before changing the server.28 Nov 2026
- Tip
larger-than:500kLarger-than: in the Network filter box shows only the heavy requestsFilters the Network panel down to requests bigger than a size you choose.28 Nov 2026 - Tip
method:POSTCopy all listed as cURL turns a filtered Network view into shell commandsCopies every request still visible in a filtered Network list as cURL commands.28 Nov 2026 - TipExport HAR (sanitized) in DevTools leaves your cookies out of the fileSaves the network log as a HAR file without cookie and authorization headers.28 Nov 2026
- Tip
google-chrome --headless --screenshot --window-size=1280,1696 https://example.comChrome --headless --screenshot takes a screenshot of a page from the command lineSaves a PNG of a web page from the terminal, with no browser window.28 Nov 2026 - Tip
google-chrome --headless --dump-dom https://example.comChrome --headless --dump-dom prints the HTML after the JavaScript has runPrints the page's HTML as it looks after JavaScript has run.28 Nov 2026
Other tips5
- TipClear site data for one site from Chrome DevToolsWipes storage and cache for the current site only, leaving other sites alone.2 Dec 2026
- Tip
Settings > Search engine > Manage search engines and site search > Site search > AddAdd a site search keyword in Chrome to search any site from the address barType a short word and your query to search a favourite site directly.1 Dec 2026 - Tip
type "sensors" > Show Sensors > GeolocationThe DevTools Sensors panel fakes your location for testingTest location based features as if you were somewhere else.1 Dec 2026 - Tip
Toggle device toolbar > More options > Capture a full size screenshotCapture a full size screenshot in Chrome's device toolbar saves the whole pageSaves a screenshot of the entire page at the width you chose in device mode.28 Nov 2026 - TipCtrl+Shift+P in Chrome DevTools opens a command menuOpens a searchable command menu in Chrome DevTools, for example for full-page screenshots.19 Nov 2026
CSS4
- TipCSS Overview in Chrome DevTools audits the colors and fonts of a pageCaptures a report of all colors, fonts, unused declarations and media queries on a page.2 Dec 2026
- Tip
@media (prefers-color-scheme: dark) {Test dark mode in Chrome DevTools without changing your OS themeSwitches the page between light and dark styling from inside DevTools.2 Dec 2026 - Tip
Elements > Styles > :hov > :hover:hov in the DevTools Styles pane forces the hover state so you can edit itKeeps an element in its hover state so you can edit the matching CSS.28 Nov 2026 - Tip
@media (prefers-reduced-motion: reduce) { .hero { animation: none; }}The Rendering tab can emulate prefers-reduced-motion without touching your OS settingsMakes Chrome behave as if reduced motion is switched on, to test your CSS.28 Nov 2026
Posts1
Nothing matches.