Save an online PDF using AWT | Selenium Forum
M
Posted on 27/04/2016
Hello All,

I have a scenario here. Once we generate a form from the main webpage, the form gets loaded in PDF format separate IE window. There is no URL to the page - only we have PDF options (save, print, etc) available in the page. As a shortcut we can only use Ctrl+Shift+S key combination to open a windows File Save dialog box and save the file.

Selenium Webdriver cannot work in this page since there is no web elements in the page, we can only use Robot to simulate keyPress. My problem is, I can open the file save dialog box but cannot enter anything (File name or click Save) in the dialog box. Please tell me how to do this.

Thanks,

M
Replied on 27/04/2016

there are 2 ways auto it or robot frame work.

both are explained in the videos.