Cara mengambil tangkapan layar di browser menggunakan javascript
const screenshotTarget = document.body;
html2canvas(screenshotTarget).then((canvas) => {
const base64image = canvas.toDataURL("image/png");
window.location.href = base64image;
});
Attractive Anaconda