Last Updated: February 25, 2016
·
722
· kelion

Chrome dev tools: console and elements tree connect

Use $0 in console to work with currently selected element from elements tree. $1 to previous selected element, etc.

Picture

To select element in elements tree from console, use inspect(element):

Picture