nightmare
Version:
A high-level browser automation library.
18 lines (17 loc) • 340 B
HTML
<html>
<head>
<title>Options</title>
</head>
<body>
<h1>Hello World!</h1>
<button>click</button>
</body>
<script>
console.log('my log');
document.querySelector('button').addEventListener('click', function() {
console.log('clicked');
});
thisIsAnError(foobar);
</script>
</html>