How to search through all files in your web application in Google Chrome
Clarice Bouwer
Software Engineering Team Lead and Director of Cloudsure
Tuesday, 18 January 2022 · Estimated 1 minute read
I am running Version 97.0.4692.71 (Official Build) (arm64) to date.
Why?
Use this feature to find text in any resource served by the web server. It's handy for searching for things where the location is sometimes uncertain.
How
There are two ways I know of:
Approach 1
(the simplest)
- Go to the Developer Tools
- In the kebab menu to the far right (right next to the close button - on the left)
- You can then open the Search tab by clicking on Search.
Approach 2
(let's you browse through files before hand)
- Go to the Developer Tools
- Go to the Sources tab (you can rearrange your tabs by dragging them around)
- Locate your domain (in my case it's Storybook on localhost:6007)
- Right-click on the domain name and click on Search in all files