-
Notifications
You must be signed in to change notification settings - Fork 209
[HELP] JsFunction and download process #14
Comments
Your a bit out of luck here… 😕 First, it seems like Puppeteer itself doesn't really support file downloads for the moment. Second, it's not currently possible for PuPHPeteer to retrieve a value from an event, this is partially due to the lack of concurrency in PHP. This could be solved by implementing some kind of “value retriever” in Rialto, but I have to think properly about this before writing anything. If I find a good solution, I will notify you. 🙂 I'm closing the issue since this mainly concerns Rialto instead of PuPHPeteer, but feel free to answer. |
when i simulate to login some website to get cookie, there comes alert dialog. how to write like js code below same with php?
|
Is there any update on this? |
I've created an issue about this a few days ago, to present a potential solution and track the progress. But I didn't start to write any code and I will probably not start working on this until v2 is out. |
Hello,
Great job on the package, works like a charm!
My issue has to do more than usage rather than a bug report.
I have managed to go through the log in and navigation process in my DFP account and am now trying to download a CSV file from in there.
The download is triggered through a button that sends a POST request and the actual path of the file is returned in the response of that request. Then a new tab opens and the download dialog opens.
I would love to download the file in the disk, meaning, continue using puppeteer on the newly opened tab and download it. For now I just tried to get the response. Any advice on the download process would be greatly appreciated!
I am getting the error below:
Screenshot of the post request and response when the download button is clicked:
Environment (please complete the following information):
My Node package manager is:
NPM 6.1.0
The text was updated successfully, but these errors were encountered: