How to open the Javascript console

If an affiliate tool by Travelpayouts is not working on your website, you may need to take a screenshot of the Javascript console. This console is built into most web browsers and logs errors and warnings that occur when you load a web page.

This article describes how to open the Javascript console in different browsers and use the built-in tools of the operating system to take screenshots with the information needed for troubleshooting.


How to open the Javascript console in Chrome

In Chrome, the Javascript console is part of DevTools, a built-in set of tools that are used as an auxiliary tool for web developers. The console opens up as a new browser window.

To open the Javascript console:

  • Use Ctrl+Shift+J (for Windows / Linux) or Cmd+Opt+J (for Mac)
  • If DevTools is already open, select the Console tab


How to open the Javascript console in Firefox

In Firefox, the console is called the web console and is part of the developer tools.

To open the web console:

  • Use Ctrl+Shift+K (for Windows / Linux) or Cmd+Opt+K (for Mac)
  • Or, select Web development- > Web console from the browser menu

How to open the Javascript console in Safari

In Safari, the console is called the web inspector.

To open the web inspector after you enable it:

  • Select Development menu > Show Web inspector;
  • Use Ctrl+Alt+I (for Win);
  • Use Cmd+Opt+C (for Mac).

If you do not have this menu item or the web inspector does not start, go to the browser settings, select the Add-ons panel and tick the «Show Development menu in the menu bar» box.

How to open the Javascript console in Internet Explorer/Edge

In Internet Explorer and Edge, the Javascript console is part of the developer tools.

Depending on your computer, the developer tools can be opened by pressing F12. To open developer tools from the menu:

  • Open the menu (icon of three points);
  • Select Developer tools.

Was this article helpful?

Have more questions? Submit a request