The Application tab

The Application tab contains the data a page retains between reloads: authentication state, a dismissed cookie banner, a selected language. None of it is stored on the server; it is held in the browser.

Cookies

Named values that the browser attaches to every request to the site; this is how the server identifies a session as the visitor moves between pages. Each cookie has an expiry date and the flags HttpOnly (not readable by scripts) and Secure (transmitted over HTTPS only).
In the Cookies table, the Expires / Max-Age column shows the expiry date or lifetime set by the server: compare it with the current date to check a required lifetime. A session cookie has no expiry date and is removed when the browser closes.
A cookie consent example: after “Accept” is pressed the site stores a cookie, cookie_consent=accepted for instance. The next time the page opens, the site reads that value and does not show the banner again. The banner returns if the cookie expires or the user clears their cookies.

Local storage and session storage

Both hold key–value pairs, both are readable by scripts, and neither is sent to the server automatically — the page has to include the value in a request explicitly. They differ in lifetime: local storage persists after the browser is closed, session storage is cleared when the tab is closed.

The cache

The browser retains copies of previously downloaded files, so a normal reload can return an outdated script or stylesheet. A hard reload — ctrl shift r / cmd shift r — requests the files from the server again. This explains cases where a fix appears not to be deployed: before reporting one, perform a hard reload and check the Network tab for from disk cache.

Use in testing

Clearing storage returns the browser to the state of a first-time visitor: ApplicationClear site data, or a private window. This is the procedure for anything that should occur only once — a cookie banner, an onboarding tour, a “new” badge. For reports of unexpected sign-outs, the cookie expiry date in this tab is the first thing to check.

At the interview

This group is about the data that stays in the browser between reloads, and the cases where it gets in the way of a check. Try answering before opening the answer.
juniorentry-level knowledge
1. How does a cookie differ from local storage and session storage?
2. How do you check that the cookie banner appears on a first visit to the page?
3. The fix is deployed but the page still behaves the old way. What do you check before reporting?
middlea more advanced level
4. What do the HttpOnly and Secure flags on a cookie mean?
5. Users are being signed out earlier than they should be. What do you look at in Application?
Questions on the other topics are collected on the QA interview questions on DevTools page.
BackNext