qutebrowser/tests/end2end/data/keyinput/log.html
Florian Bruhin 64d4c9f83e Clean up end2end test file structure
This renames tests/integration to tests/end2end and moves some files to
tests/end2end/fixtures.
2016-05-29 18:20:00 +02:00

23 lines
722 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fake keypresses</title>
<script type="text/javascript">
window.onload = function () {
keyPressHandler = function (e) {
console.log("key press: " + e.keyCode);
}
keyReleaseHandler = function (e) {
console.log("key release: " + e.keyCode);
}
window.addEventListener('keydown', keyPressHandler, false);
window.addEventListener('keyup', keyReleaseHandler, false);
}
</script>
</head>
<body>
This page logs keypresses via console.log.
</body>
</html>