7

What is the difference between web console and browser console in firefox 48? They look rather close. Why two consoles?

web console

enter image description here -- best place to run javascript

browser console enter image description here

-- receive error message. -- console.log output

1 Answer 1

10

According to Mozilla

The Browser Console is like the Web Console, but applied to the whole browser rather than a single content tab.

So it logs the same sorts of information as the Web Console - network requests, JavaScript, CSS, and security errors and warnings, and messages explicitly logged by JavaScript code. However, rather than logging this information for a single content tab, it logs information for all content tabs, for add-ons, and for the browser's own code.

The Web Console on the other hand:

Logs information associated with a web page: network requests, JavaScript, CSS, security errors and warnings as well as error, warning and informational messages explicitly logged by JavaScript code running in the page context

Enables you to interact with a web page by executing JavaScript expressions in the context of the page

Sources:

Browser Console

Web Console

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.