mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
23 lines
630 B
HTML
23 lines
630 B
HTML
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>Load Event Test</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script>
|
||
|
window.results = [];
|
||
|
window.addEventListener('load', function() {
|
||
|
window.results.push('load');
|
||
|
});
|
||
|
window.addEventListener('DOMContentLoaded', function() {
|
||
|
window.results.push('DOMContentLoaded');
|
||
|
});
|
||
|
</script>
|
||
|
<script type="module" src="./module.js"></script>
|
||
|
<script>
|
||
|
window.results.push('script tag after after module');
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|