Search code examples
google-chromegoogle-chrome-extensionselenium-chromedrivergoogle-chrome-devtoolschrome-devtools-protocol

Is there a way to open chrome devtools and ensure that console tab is selected


When you do command+option+i on this page, it will open the devtools. When it opens it will be focused on the last tab that was focused.

You can change the focused tab (from "Element" pane to "Console" or others) and then next time devtools opens, it will be focused on the last open pane.

Is there a way to ensure that devtools always opens with "Console" pane in focus?


Solution

  • Yes, you can use command + option + j to always open the Console! https://developer.chrome.com/docs/devtools/open/#console

    enter image description here