Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

You can open the browser console in seconds. The fastest way is a keyboard shortcut: press Ctrl + Shift + J on Windows or Linux, or Cmd + Option + J on macOS, in Chrome, Edge, and Firefox. You can also reach it through the browser menu under More Tools then Developer Tools, and select the Console tab. Safari requires enabling the Develop menu first.
The browser console is part of every modern browser's built-in developer tools. It is an interactive panel that shows JavaScript errors and warnings, network and security messages, and any output your code logs. It also acts as a REPL: you can type JavaScript directly against the live page and see the result immediately. For developers and testers, the console is the first place to look when a page misbehaves, because it surfaces the exact error, file, and line that caused a problem.
The quickest way to open the console is with a shortcut that jumps straight to the Console tab, skipping the menus entirely:
Pressing F12 in Chrome, Edge, or Firefox opens the full developer tools panel, from which you can click the Console tab.
For Google Chrome:
For Firefox:
For Safari:
For Microsoft Edge:
Once open, the console lets you log values, read errors, and run commands live. A few of the most common statements you will use are:
// Print a message or variable
console.log("Page loaded", document.title);
// Highlight warnings and errors
console.warn("Deprecated API used");
console.error("Something went wrong");
// Group and count for quick debugging
console.table([{ id: 1, name: "test" }]);
// Run any expression against the live page
document.querySelectorAll("a").length;For a deeper walkthrough, see the guide on debugging JavaScript using the browser's developer console.
Opening the browser console is a one-shortcut task: Ctrl + Shift + J or Cmd + Option + J in most browsers, with Safari needing its Develop menu enabled first. Once open, the console is your window into JavaScript errors, warnings, and live commands, making it indispensable for debugging and testing. To catch issues that only appear on certain browsers or devices, extend that workflow to a real-device cloud so no console error slips through unseen.
In Chrome, Edge, and Firefox on Windows or Linux, press Ctrl + Shift + J to jump straight to the Console. On macOS use Cmd + Option + J for Chrome and Edge, and Cmd + Option + C in Safari after enabling the Develop menu.
The console displays JavaScript errors and warnings, lets you run JavaScript commands against the live page, log values with console.log, inspect network and security messages, and debug behavior in real time, making it a core tool for developers and testers.
Safari hides developer tools by default. Open Safari, go to Preferences, then the Advanced tab, and enable Show Develop menu in menu bar. Then choose Develop and Show JavaScript Console, or press Cmd + Option + C.
Yes. Mobile browsers do not show a console directly, but you can use remote debugging by connecting the device to a desktop, or use a cloud platform that exposes DevTools on real Android and iOS devices so you can view the console remotely.
Check that the log-level filter is not hiding errors, that the Console tab is selected rather than another panel, and that Preserve log is enabled if a page reload is clearing messages before you can read them.
They are part of the same developer tools panel but serve different roles. The Console runs and logs JavaScript, while the Elements or Inspector tab lets you view and edit the page's HTML and CSS. You can switch between them using the tabs at the top.
KaneAI - Testing Assistant
World’s first AI-Native E2E testing agent.

TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance