Open Safari / Google Chrome developer tools programmatically from JavaScript

Simply: You can’t.

The Dev Tools are not sandboxed (unlike any web page), thus granting sandboxed environments the power to open and control an unsandboxed environment is a major security design flaw.

I hope this answers your question 🙂

Leave a Comment