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
@mxschmitt This is just an example and I will try to do a download interaction based on button click later. As if I clicked a button to download the file, it also uses `goto` behind the scene, so I think both should behave the same, I just want to do a simplification.
My end goal is to capture the PDF download and send the file stream into stdout/remote pipe.
N.B.
Although I can go without making a persistent context to trigger the PDF download if I go headless, it apparently does not behave well in non-headless mode, so the suggestion at microsoft/playwright#3509 (comment) is not working.
The text was updated successfully, but these errors were encountered:
wizpresso-steve-cy-fan
changed the title
@mxschmitt This is just an example and I will try to do a download interaction based on button click later. As if I clicked a button to download the file, it also uses goto behind the scene, so I think both should behave the same, I just want to do a simplification.
[BUG] PDF directly access does not emit download event
Feb 9, 2023
So far, this seems to be working:
Combining the trick on microsoft/playwright#3509 (comment) and https://stackoverflow.com/a/75201448/3289081
My end goal is to capture the PDF download and send the file stream into stdout/remote pipe.
N.B.
Although I can go without making a persistent context to trigger the PDF download if I go headless, it apparently does not behave well in non-headless mode, so the suggestion at microsoft/playwright#3509 (comment) is not working.
Originally posted by @wizpresso-steve-cy-fan in microsoft/playwright#20771 (comment)
The text was updated successfully, but these errors were encountered: