PTF - Link.Click of PDF File -- Script hangs on Browser.Close
PTF 8.60.13 / FSCM Image 42
Given: Link is a PDF file
Playback using Edge Browser (Chrome often chokes with attachments)
Link.Click name=VIEWBUTTON$0 —- opens a new tab with the pdf file open
Browser.WaitForNew works the same if using File.Download —— they open the pdf file in a new tab. For non-pdf file, it downloads the file into the Downloads folder always (in Edge) so they're fine. Only pdf files give me a headache.
Browser.Close just hangs forever. Yellow message box just message "Closing browser - name: "browser_1" —— forever until you kill PTF — i.e. close PTF and end task in Task Manager.