Use $$(...) in the Console tab of the DevTools to query elements. It's a quick way for using querySelectorAll.

// Find all "a" elements
$$("a");

// Find all div elements with "container" in the class attribute
$$("div[class*='container']");