Opening the Web Console

This translation is incomplete. Please help translate this article from English

To open the Web Console:

  • either select "Web Console" from the Web Developer submenu in the Firefox Menu (or Tools menu if you display the menu bar or are on Mac OS X)
  • or press the CtrlShiftK (CommandOptionK on OS X) keyboard shortcut.

The Toolbox will appear at the bottom of the browser window, with the Web Console activated (it's just called "Console" in the DevTools toolbar):

The Web Console's interface is split into three horizontal sections:

  • Toolbar: along the top is a toolbar containing two buttons. Click the garbage can button to clear the contents of the console. Click the funnel icon to filter the messages that are displayed in the console
  • Command Line: the command line starts with double angle brackets (>>). Use it to enter JavaScript expressions
  • Message Display Pane: the messages generated by the code in the page and by the commands entered on the command line are displayed following each command

Note: You can clear the contents of the console by enterting the keyboard command Ctrl + Shift + L (Windows, macOS, and Linux) or Cmd + K on macOS.