Chrome version 87 not supporting function canvas.toDataURL(“image/png”) during generation of PDF

HTML2Canvas compatibility issue with Chrome version 87.xxxx. I am using HTML2Canvas to convert the HTML to PDF in my js project. It was working perfectly with Chrome version 86.0.xxxx. The issue I noticed is, that the value in the Input field (textbox) in HTML is not getting reflected into the generated PDF. This functionality is working fine with Firefox.

Any quick suggestions/support is highly appreciated.

Below is the code snippet I’m using for this process.

html2canvas(document.querySelector("#pageWrap")).then(function(canvas) {

    snapShotURL = canvas.toDataURL("image/png");
    sessionStorage.setItem("snapShotURLS", snapShotURL);
            openAllCrossForBlockDiv();
            generateJsonObj();

}