Last Updated: February 25, 2016
·
1.539K
· joecritch

Target selected element in Dev Tools console

  1. Highlight an element in the DOM using the Elements inspector
  2. Open the Console using by pressingESC
  3. A $0 variable has the scope of whichever DOM element is selected.

Picture