---
title: "Discussion on \"Most Useful trick to Easily Access Webpage Elements in Chrome Dev Tools\" | Hashnode"
description: "Discussion on \"Most Useful trick to Easily Access Webpage Elements in Chrome Dev Tools\". Many times when we’re writing JavaScript code, we want to quickly test if some element on the webpage is present or not or count the list of elements displayed.\nTo count the number of jobs displayed:\ndocument.querySelectorAll('.job-item').length\n\nTo ..."
url: "https://hashnode.com/posts/most-useful-trick-to-easily-access-webpage-elements-in-chrome-dev-tools/6077d285a3407a32d70429c7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Most Useful trick to Easily Access Webpage Elements in Chrome Dev Tools](https://blog.yogeshchavan.dev/most-useful-trick-to-easily-access-webpage-elements-in-chrome-dev-tools?utm_source=hashnode&utm_medium=feed)

Many times when we’re writing JavaScript code, we want to quickly test if some element on the webpage is present or not or count the list of elements displayed. To count the number of jobs displayed: document.querySelectorAll('.job-item').length To ...

Apr 15, 2021 · 2 min read · blog.yogeshchavan.dev  
Updated Apr 26, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

## Written by

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

@myogeshchavan97 · India

  
[View profile](https://hashnode.com/@myogeshchavan97)

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. https://yogeshchavan.dev/. Book 1:1 @ hiretheauthor.com/myogeshchavan97

Full Stack Developer | Freelancer | JavaScript | React | Nodejs. Loves sharing knowledge through technical articles. Dev.to: https://dev.to/myogeshchavan97 https://linktr.ee/myogeshchavan97

## Responses 1

Markdown supported · ⌘↵ to post

[Shawn Crigger](https://hashnode.com/@ShawnC)

[Apr 16, 2021](https://hashnode.com/posts/most-useful-trick-to-easily-access-webpage-elements-in-chrome-dev-tools/6077d285a3407a32d70429c7/comment/6078f1644155da32fc83d18b)

Can you do this without a framework like jQuery included on the page is this built into the console or is it just using the included frameworks on the page? I'm just curious I use the console all the time but normally jQuery is included on the page.

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Apr 16, 2021](https://hashnode.com/posts/most-useful-trick-to-easily-access-webpage-elements-in-chrome-dev-tools/6077d285a3407a32d70429c7/comment/6078f1644155da32fc83d18b#reply-6078f8c4a3407a32d704418a)

[Shawn Crigger](https://hashnode.com/@ShawnC) There is no need for any jquery library. `$` and `$$` are available by default in chrome dev tools.

[Shawn Crigger](https://hashnode.com/@ShawnC)

[Apr 16, 2021](https://hashnode.com/posts/most-useful-trick-to-easily-access-webpage-elements-in-chrome-dev-tools/6077d285a3407a32d70429c7/comment/6078f1644155da32fc83d18b#reply-6079d6455af33606b2563d3d)

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97) Thank you, I always wondered if I was using jQuery or whatever library was on the page set to $ or if it was built into Chrome. I have used it many times to access the angular scope and see what was going on with the script.
