What is Console in Chrome DevTools good for?
Experience Level: Junior
Tags: Quality Assurance (QA)
Answer
In console you can see all unhandled errors and exceptions that were thrown in the page.
To verify whether there is any error happening in the page, clear all previous errors and reload the page.
You can see failed HTTP requests and JavaScript errors. You can even see logging messages. And what's more - you can also run commands from the console - it's like a JavaScript command-line.
As an example, try to type window. It will show you the window object. Do you want to see the value of a JavaScript global variable? Just type its name into the Console and hit enter.
Related Quality Assurance (QA) job interview questions
How can you inspect HTML code of a specific element in a web page?
Quality Assurance (QA) JuniorWhat is Network in Chrome DevTools good for?
Quality Assurance (QA) JuniorHow to turn on Chrome DevTools?
Quality Assurance (QA) JuniorWhat is Chrome DevTools good for?
Quality Assurance (QA) JuniorHow many ways can you reload a page in a web browser?
Quality Assurance (QA) Junior