Is it possible to search words only inside certain elements on the html in Developer Tools? If I Ctrl+f in Developer Tools it performs the search on the entire html and also it automatically scrolls the html to the first element it finds. This way if I'm interested to find a term only in a certain section of the html I have to scroll back to that area and this is very time consuming for long htmls.
it is also possible to look for text in the HTML code of certain elements in dev tools, without going over the whole web page.
go to the Console tab in Developer Tools
use JavaScript commands to find elements, for example:
> $x("//div[@class='classname']") // XPath
> document.querySelectorAll('.classname') // CSS selector