electron/spec-main/fixtures/pages/webview-devtools.html

17 lines
333 B
HTML
Raw Normal View History

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