![]() ![]() Handle the response with the Excel download Page.Response += async (sender, responseCreatedEventArgs) => ![]() Handle multiple responses and process the Download ![]() await using (var browser = await Puppeteer.LaunchAsync(new LaunchOptions ))Īwait using (var page = await browser.NewPageAsync()) Once I had that particular response, I had to attach headers and cookies for the remote server to send the downloadable data in the response. In essence, before the button click, I had to process multiple responses and handle a single response with the download. I needed both Headers and Cookies set before the download would start. I had a more difficult variation of this, using Puppeteer Sharp. ![]()
0 Comments
Leave a Reply. |