When you select an element in the Elements tab of the Browser DevTools you can use $0 in the Console tab to refer to that element.

// Logs the selected element of the Elements tab
$0;

// Access any property or method on that element
$0.href;