Hello the forum, hello Salvador
For a few days, one of my delphi software using TWVBrowser component encountered a problem.
I use ExecuteScript function to click on download buttons. Now, download starts and complete creating TMP file.
Finally TMP file is not renamed to PDF. I need final PDF name to move file.
Is there any way to know temporary file name created by download function ?
Maybe I can manually rename TMP file to PDF ?
Directly using download buttons on website, download is OK.
Have a nice day
FMI
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
PDF download does not complete
- salvadordf
- Posts: 4563
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: PDF download does not complete
Hi,
This issue might be related :
https://github.com/MicrosoftEdge/WebView2Feedback/issues/5196
I haven't tried any workaround but perhaps you can get a different result with the Input.dispatchMouseEvent DevTools method :
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent
This issue might be related :
https://github.com/MicrosoftEdge/WebView2Feedback/issues/5196
I haven't tried any workaround but perhaps you can get a different result with the Input.dispatchMouseEvent DevTools method :
https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchMouseEvent