HI team how to solve the problem of
pdf being saved as blank page when i used
cy.writeFile('sample1.pdf', APIresponse,'utf8');
does anyone faced the same issue ?
there is no error the pdf named sample1.pdf is generated but when i open the file its blank
also, i have seen there no no way to generate a pdf directly from Byte[] Response using pdf2html npm package but instead we should give a path
if i get any npm package which takes Response coming from API call (Byte[]) to generate pdf file it helps me
so if any one knows about this please help me
have a nice day ahead