Chrome DevTools
Chrome DevTools is built into every Chrome and Edge browser. It's the first tool to open on almost any web bug. You can see what the page rendered, which requests it sent, what the server answered, what is stored in the browser, and how the page behaves on a slow phone. This chapter walks through the panels a QA engineer uses every day, with exact clicks and shortcuts.
| Key fact | Details |
|---|---|
| Install | Nothing to install. It ships with Chrome, Edge, Brave, Opera and other Chromium browsers |
| Open | F12, or Ctrl+Shift+I (Windows/Linux), or Cmd+Option+I (macOS) |
| Best for | UI and front-end bugs, API calls made by the page, cookies and storage, responsive layout, quick mocks |
| Firefox equivalent | Firefox DevTools: Inspector, Console, Network Monitor, Storage, Responsive Design Mode |
Reproduce the bug → Elements/Console: what broke on screen? → Network: which request failed and why? → Application: what state was stored? → Device Mode / throttling: does it depend on the device or network? → Copy as cURL / HAR → attach evidence to the bug reportOpening DevTools, docking and the Command Menu
- Right-click any element on the page and choose Inspect. DevTools opens with that element selected in Elements.
- Use
Ctrl+Shift+J(Windows/Linux) orCmd+Option+J(macOS) to jump straight to Console. - Use
Ctrl+Shift+C/Cmd+Shift+Cto turn on the element picker, then hover over the page. - Click the ⋮ menu in DevTools → Dock side to place DevTools at the bottom, on the right, or in a separate window. A separate window is handy when you test narrow layouts.
- Press
Ctrl+Shift+P/Cmd+Shift+Pto open the Command Menu. Type a command such asscreenshot,disable JavaScript,sensorsorcoverageinstead of hunting through menus.
The panels you will use most often are Elements, Console, Sources, Network, Application and Lighthouse. Panels that don't fit are hidden behind the » button. The drawer at the bottom (Esc) holds extra tools such as Console, Network conditions, Request conditions and Sensors.
QA tip: The Command Menu command Capture full size screenshot saves the whole scrollable page as a PNG. That's useful for layout bugs without installing an extension.
Elements and Console: inspect the page and read errors
Elements shows the live DOM, which is not always the same as the HTML source. Use it to answer "what is actually on the screen?"
- Pick an element with
Ctrl+Shift+Cand check its tag, classes,id,data-testidand ARIA attributes. These values are also what automation locators rely on. - Press
Ctrl+F/Cmd+Finside Elements to search by text, CSS selector (button.primary) or XPath (//button[text()='Save']). This is a quick way to check a locator before you put it in a test. - Double-click a text node and paste a very long or Unicode string to test overflow and wrapping without touching the backend.
- In the Styles pane click :hov and tick
:hover,:focusor:activeto freeze an interactive state for inspection. - Right-click a node → Break on → subtree modifications to pause JavaScript at the moment something changes or disappears.
Console shows JavaScript errors, failed resource loads, CORS and mixed-content warnings, and messages logged by the app.
- Open the Default levels dropdown and enable Verbose when you need everything, or only Errors when the log is noisy.
- Open Console settings (gear icon) and enable Preserve log so errors survive a redirect or a page reload.
- Click the file link on the right of an error to jump to the line in Sources.
- Type
$0to reference the element currently selected in Elements, or runcopy(document.title)to copy a value to the clipboard.
Caveat: Changes made in Elements live only in your tab and disappear on reload. They are good for exploring, but they don't prove the bug is fixed.
Network: find, filter and read a request
The Network panel records every request the page makes while DevTools is open. Open DevTools before you reproduce the bug, or reload the page.
- Open Network and check that recording is on (the red circle).
- Enable Preserve log if the flow redirects or reloads, such as a login or a payment flow.
- Click Fetch/XHR in the type filter bar to hide images, fonts and scripts and keep only API calls.
- Type a filter in the Filter box. Properties combine with AND, for example
status-code:500 method:POST. Tick Invert to hide what matches. - Click a request and read the tabs: Headers (URL, method, status, request and response headers), Payload (query string and body), Preview / Response (what the server returned), Cookies and Timing.

| Filter | Shows |
|---|---|
status-code:404 | Only responses with that status |
method:POST | Only POST requests |
domain:api.example.com | Only one host. Wildcards such as domain:*.example.com work |
larger-than:1M | Responses bigger than 1 MB |
mime-type:application/json | Only JSON responses |
| More filters → Blocked requests | Requests the browser blocked |
QA tip: In the Timing tab, a long Waiting for server response means the backend is slow. A long Content Download points to payload size or network speed. Put that distinction in the bug report.
Network: throttling, offline and blocking requests
Many bugs appear only on a slow or broken network: double submits, missing spinners, timeouts, or retries that create duplicates.
Throttle the network
- In Network, open the Throttling dropdown (it says No throttling by default).
- Pick a preset such as Fast 4G, Slow 4G or 3G, or choose Offline to cut the connection entirely.
- Reproduce the flow and watch for loading states, timeouts and duplicate requests.
- Switch back to No throttling when you're done. A warning icon on the Network tab reminds you that throttling is on.

Block one request or a whole pattern
- Right-click a request in the Name column and select Block request (or Throttle request to slow only that one).
- The Request conditions drawer opens with the pattern added, and Enable blocking and throttling is checked.
- Click Edit to widen the pattern with
*, for example*://cdn.example.com/*or*/api/recommendations*. - Reload and check that the page degrades gracefully: an error message, a retry button, and no blank screen.
- Untick Enable blocking and throttling when you finish. Closing DevTools also turns blocking off, but the patterns stay saved.
Caveat: Disable cache and throttling apply only while DevTools is open, and only to the current tab.
Network: Copy as cURL, replay and HAR export
A request copied out of DevTools is the fastest way to give a developer a reproducible case.
- Right-click the request → Copy → Copy as cURL. On Windows, Chrome offers both (cmd) and (bash) variants. Pick the one that matches the shell you will paste into.
- Paste the command into a terminal or import it into Postman (Import → paste the cURL text).
- To resend a request from the browser, right-click it → Edit and resend as fetch. The Console opens with a
fetch()call that you can edit and run withEnter. Older Chrome versions call this item Replay XHR. - To share the whole session, click Export HAR (sanitized)… in the Network action bar, or right-click → Copy → Save all listed as HAR (sanitized).
The sanitized HAR leaves out Cookie, Set-Cookie and Authorization headers. Exporting with sensitive data has to be switched on in Settings → Preferences → Network first. Only use it on test accounts.

Caveat: A copied cURL command contains every header the browser sent, including session cookies and tokens. Remove or rotate them before you paste it into a ticket or a chat.
Application: cookies, storage and clearing site data
The Application panel shows what the site has stored in the browser. Many "works for me" bugs turn out to be stale state.
- Open Application → Storage → Cookies and select the site's origin.
- Check each cookie's Domain, Path, Expires / Max-Age, HttpOnly, Secure, SameSite and Partition Key. Enable Only show cookies with an issue to see cookies the browser rejected.
- Double-click a value to edit it, for example to expire a session or switch a feature flag. Double-click an empty row to add a cookie.
- Select a cookie and click Delete selected, or click Clear all for the origin.
- Under Local storage, Session storage and IndexedDB, inspect and edit the keys the front end keeps.
- Open Application → Storage and click Clear site data to reset the origin to a first-visit state in one click.

QA tip: For checks like "log out in one tab, act in another", delete the session cookie in Application. It's faster and more precise than clearing the whole browser history.
Device Mode: responsive layouts, touch and geolocation
Device Mode simulates a phone or tablet viewport inside desktop Chrome.
- Click Toggle device toolbar in the top-left corner of DevTools, or press
Ctrl+Shift+M/Cmd+Shift+M. - Open the Dimensions list and choose a device, or choose Responsive and drag the handles. The width presets bar offers 320, 375, 425, 768, 1024, 1440 and 2560 px.
- Click More options (⋮ in the device toolbar) → Add device pixel ratio and Add device type. Mobile sends touch events, Desktop sends click events.
- Open the Throttle list in the device toolbar and pick Mid-tier mobile or Low-end mobile. This slows down both the network and the CPU.
- For location-based features, open ⋮ → More tools → Sensors. Choose a city in Location, enter custom coordinates with Other…, or pick Location unavailable to test the error path.
- Use More options → Capture screenshot to attach exactly what the simulated device showed.

Caveat: Device Mode is only an approximation. It doesn't emulate a mobile CPU, the real mobile browser engine, the keyboard or OS behaviour. Confirm important mobile bugs on a real device using remote debugging (chrome://inspect with an Android phone over USB).Local overrides: mock a response or header without a backend
Local overrides let you change what the server returned and keep that change across reloads. You can test an empty list, a missing field or a new header before the backend is ready.
- In Network, right-click a request (for example a JSON API response) and choose Override content.
- The first time, DevTools asks for a folder to store override files. Select an empty folder and click Allow in the permission bar.
- DevTools opens the response in Sources. Edit it (for example change
"items": [...]to"items": []) and save withCtrl+S/Cmd+S. - Reload the page. The overridden request shows a purple dot next to its Response tab.
- To change headers, right-click the request → Override headers, then add or edit values in Response Headers, such as
Cache-Controlor a CORS header. Reload to apply. - To stop, open Sources → Overrides and untick Enable Local Overrides, or delete the files.

Caveat: Overrides replace the body and headers, but they can't change the HTTP status code. The cache is also disabled while overrides are on. To simulate a 500 or a timeout, use Requestly, Charles or Fiddler (covered later in this path).Cheat sheet
| Task | How |
|---|---|
| Open DevTools | F12, Ctrl+Shift+I, Cmd+Option+I |
| Element picker | Ctrl+Shift+C / Cmd+Shift+C |
| Command Menu | Ctrl+Shift+P / Cmd+Shift+P |
| Device toolbar | Ctrl+Shift+M / Cmd+Shift+M |
| Keep requests after reload | Network → Preserve log |
| Only API calls | Network → Fetch/XHR |
| Slow or offline network | Network → Throttling dropdown |
| Block a request | Right-click → Block request |
| Reproducible command | Right-click → Copy → Copy as cURL |
| Session evidence | Export HAR (sanitized)… |
| Reset site state | Application → Storage → Clear site data |
| Mock a response | Right-click → Override content |
| Quick audit | Lighthouse panel → Analyze page load |
Summary
- Open DevTools before reproducing a bug, enable Preserve log, and filter Network down to Fetch/XHR so you see only the API calls.
- Elements and Console tell you what broke on the screen. Network tells you which request caused it and whether it's the client, the server or the network.
- Throttling, Request conditions and Local overrides let you create slow, broken and edge-case states without changing the backend.
- Share evidence as a cleaned-up cURL command or a sanitized HAR, and never paste live tokens into tickets.