QA interview questions on DevTools

A junior QA interview almost always includes questions about DevTools: how to find the cause of a defect, what the Network tab shows, how a cookie differs from local storage. The questions below are grouped by the eight topics of the trainer, each with an answer and a link to the material that covers it. Try answering before opening the answer — that is what shows which topics are worth going back to.
Inside every topic the questions are split by level: junior is entry-level knowledge, middle a more advanced one.

On this page

DevTools basics and what they help with

An interview is rarely interested in a list of the DevTools tabs. What is asked is how they are used to investigate a problem. Try answering before opening the answer.
juniorentry-level knowledge
1. What are DevTools and what does a QA engineer need them for?
2. A button does not respond to a click. Where do you start?
3. A list of data is missing from the page. What can the Network tab tell you?
4. What does localising a defect mean?
middlea more advanced level
5. Why do you open DevTools before reproducing the problem?
6. The site forgets the selected language after a reload. Which tab do you open?
The topic is covered in What DevTools are.

Requests, responses and status codes

What is usually asked for is not a memorised definition but reasoning about a specific request. Try answering before opening the answer.
junior
1. What does an HTTP request consist of?
2. What is the difference between the 401 and 403 response codes?
3. What do 4xx and 5xx statuses usually indicate?
4. What is the difference between GET and POST?
5. What is the difference between PUT and PATCH?
middle
6. Is a 200 enough to call a response correct?
7. The page shows no orders although the request returned 200. How do you investigate?
8. A user clicked “Place order” twice and got two orders. What does the Network tab show?
The topic is covered in Request and response.

The Network tab

These questions check whether the request list can be used to decide which side a defect is on, and whether the data for a report can be collected from it. Try answering before opening the answer.
junior
1. What is Preserve log for?
2. What do you attach to a defect report from the Network tab?
3. What can you look at inside a single request?
middle
4. How do you tell from the Network tab which side the defect is on?
5. What does a red row without a status code mean?
6. How do you make sure you are testing the current version and not the cache?
The topic is covered in The Network tab.

Elements and markup

What is checked here is whether markup can be read and used to verify an interface. Try answering before opening the answer.
junior
1. How do you find an element quickly, on the page and in the markup?
2. Can you fix text or CSS in the Elements tab?
3. How do you check a responsive layout in DevTools?
middle
4. How does the DOM in the Elements tab differ from the source HTML?
5. Why can a button built from a div be a defect?
The topic is covered in The Elements tab.

Console and JavaScript errors

These check whether an error can be read, and whether a defect of the page can be told apart from noise that belongs to something else. Try answering before opening the answer.
junior
1. What do the red and yellow lines in Console mean?
2. What do you take from an error for a defect report?
3. How do you leave only errors in Console and keep them across a navigation?
middle
4. A button does not work and Console shows an error. Is the defect found?
5. Why does not every error in Console belong to the site?
6. Console is empty but the screen shows wrong data. What does that tell you?
The topic is covered in The Console tab.

Application: cookies, storage and cache

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.
junior
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?
middle
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?
The topic is covered in The Application tab.

Lighthouse and automated checks

These are about what an automated audit shows and what is left to manual checking. Try answering before opening the answer.
junior
1. What does Lighthouse show?
2. Why is the audit run in a private window with extensions disabled?
3. How do you run a Lighthouse audit?
middle
4. Does an Accessibility score of 100 mean the page is accessible?
5. What standard is behind the accessibility checks?
The topic is covered in The Lighthouse tab.

Web accessibility

A junior QA interview rarely asks for the details of the standard. What is asked is whether the basic principles are understood and whether the checks can be run by hand. Try answering before opening the answer.
junior
1. What is web accessibility?
2. What is WCAG?
3. How do you check a site from the keyboard?
4. What is the alt attribute for?
middle
5. What is ARIA for?
6. The text on a page is light grey on white. Is that a defect?
The topic is covered in Web accessibility.
BackNext