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
Web application analysis for Testers
Web application analysis for Testers

Are you learning Quality Assurance (QA)? Try our test we designed to help you progress faster.

Test yourself