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
I want to generate a PDF from a page where a user is authenticated. Therefore, I'd like to pass the session cookie when using chrome-headless-render-pdf.
However, using the library, I haven't see anything regarding setting cookies. Maybe through the --chrome-options flag?
Hi,
I want to generate a PDF from a page where a user is authenticated. Therefore, I'd like to pass the session cookie when using chrome-headless-render-pdf.
However, using the library, I haven't see anything regarding setting cookies. Maybe through the
--chrome-options
flag?Which chrome options though? I've found this list: https://peter.sh/experiments/chromium-command-line-switches/ but there does not seem to have anything related to setting cookies.
The text was updated successfully, but these errors were encountered: