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.

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

Written by Alexandr Subbotin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Chrome
Authors
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#