$_
- returns the value of the most recently evaluated expression.$0-4
- Last five DOM elements inspected or last five JS heap objects$(selector)
- alias for document.querySelector()$$(selector)
- alias for document.querySelectorAll()$x(path)
- array of DOM elements that match the XPath expression (e.g "//p[a]")clear()
- clear consolecopy(object)
- copy object to clipboarddebug(function)
- debugger invoked and breaks inside the functiondir(object)
- object-style listing of all specified objects properties, alias for console.dir()getEventListeners(object)
- returns the event listeners on an objectinspect(object/function)
- jump to object / node / functionkeys(object)
- dump keys of an objectmonitor(function)
- monitor calls to a functionmonitorEvents(object[, events])
- listens to events on a DOM node of a given event typeprofile() / profileEnd()
- adds perf logging start and end to functionstable(data, [columns])
- dumps object as a table with optional named columnsvalues();
- dumps values of an object
Last active
March 8, 2017 21:49
-
-
Save KevinTCoughlin/d151ed1cd047d9be896f8e3b8ba62632 to your computer and use it in GitHub Desktop.
Chrome DevTools Console Cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment