0

Say I have this:

   chrome.tabs.create({}, function(tab){

   });

I am looking at the options for the first argument - https://developer.chrome.com/extensions/tabs#method-create

there doesn't seem to be an option to have DevTools open automatically, but I am wondering if there is not a method on the tab, to open DevTools, something like this:

   chrome.tabs.create({}, function(tab){
        tab.openDevTools();
   });

is this possible somehow?

Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
  • 2
    No, it's not possible now. You can check this [question](https://stackoverflow.com/questions/6801577/can-i-programmatically-open-the-devtools-from-a-google-chrome-extension) for more info. – Sergii Rudenko Feb 12 '18 at 21:19
  • thanks for the info, i might delete this question then - do you happen to know anything about this btw: https://stackoverflow.com/questions/48755724/use-chrome-devtools-panels-create-in-chrome-extension-content-script – Alexander Mills Feb 12 '18 at 21:24

0 Answers0