page html à la capture d'écran

...
<script>
    function makeScreenshot() {
        html2canvas(document.getElementById("screenshot"), {scale: 1}).then(canvas => {
            document.body.appendChild(canvas);
        });
    }
</script>
</body>
Brave Beaver