var el = document.getElementById('insertHere');
el.innerHTML = '<div>Print this after the script tag</div>';
<script> tag. What you can do is write simple scenarios, for example like this one:
Try to open generated file and you will see alert.