electron/spec-main/fixtures/pages/webview-devtools.html
2020-02-03 14:01:10 -08:00

16 lines
336 B
HTML

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