Search any webpage for DOM elements, tags, attributes, or other search queries.
Huntsman will highlight all the elements on the page that match your query.
- Download the repo as .zip, unzip it
- In Chrome, open Extensions: chrome://extensions/
- Enable Developer Mode in the upper right of the window
- Click the “Load Unpacked” button in the upper left
- Select your unzipped Huntsman directory
- It should add a crosshair icon to Chrome!
- Click the crosshair icon in your Chrome extensions bar to open Huntsman.
- Enter a search query, which must be a valid CSS Selector String.
- Click "Search", it will highlight all the elements on the page that match your query!
NOTE: currently the highlights do not scroll with the page. To repaint, close the Huntsman overlay (either by clicking the crosshair icon or by clicking anywhere else on the page), and open Huntsman again.
h1
: highlight all h1's.fonkyChonk
: highlight all elements with the 'fonkyChonk' css classname#homepage
: highlight the element with the id 'homepage'[disabled]
: highlight all disabled elements[data-qa="deleteBtn"]
: highlight all elements with adata-qa
attribute with the value"deleteBtn"
Any of these can also be combined together into a CSV, like so:
h1,h2,h3,h4,h5,h6
: highlight all headersdiv, #id, .class, [attr]
: you get the idea