<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <webview nodeintegration></webview> <script> var wv = document.querySelector('webview') wv.addEventListener('dom-ready', () => { wv.openDevTools() }) </script> </script> </body> </html>