0
Good morning guys, my question today is how can I set up a button on a web page to open the console (for example, Chrome uses the Ctrl+Shift+I button combination). This code has to be developed using HTML and Javascript, as these are the languages that I am currently studying.
I believe it is not possible. The browser security bubble does not allow interaction with the console tab, this would be a tremendous failure... Perhaps via extension...
– bio
Specifically Chrome, you have a question on Soen about opening devtools: https://stackoverflow.com/questions/6801577/can-i-programmatically-open-the-devtools-from-a-google-chrome-extension (I do not know if it is considerable, given the time it was made: 2013). About the console, what you can do is simulate the console in some HTML element (similar to the snippet here site)...
– LipESprY
Got it, thank you so much for the personal information.
– Vinicius Gaio