You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to understand if I can export the pdf with emulatemedia as screen but it seems that this can't be altered because it is hardcoded to always use print? Or am I not using the url varaibles properly?
I tried media, emulateMedia, mediaType & emulateMedia.mediaType none of which gave me any different results.
@arius28 I've been added that options.
You can use ?url=https://www.google.com&type=pdf&emulateMedia=screen
Please check again.
Thank you for your proposal.
Hi, I am trying to understand if I can export the pdf with emulatemedia as screen but it seems that this can't be altered because it is hardcoded to always use print? Or am I not using the url varaibles properly?
I tried media, emulateMedia, mediaType & emulateMedia.mediaType none of which gave me any different results.
If I am reading this line
puppeteer-renderer/src/renderer.js
Line 46 in 8287d18
correctly and it is hardcoded is there a chance you might leave it as an option in the URL and if it is not provided then by default use 'print'?
Thank you for taking the time to build and maintain this image!
The text was updated successfully, but these errors were encountered: