resources.html 408 Bytes
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>CasperJS test resource</title>
    </head>
    <body>
      <script id="loader"></script>
      <script>
        setTimeout(function () {
          document.querySelector("#loader").setAttribute("src", "dummy.js?querystring");
        }, 1000);
      </script>
    </body>
</html>