# How to handle window dialog to save pdf in robot framework

**URL:** <https://forum.robotframework.org/t/how-to-handle-window-dialog-to-save-pdf-in-robot-framework/4767>\
**Category:** Robot Framework\
**Created:** [30 September 2022 11:53 UTC](https://forum.robotframework.org/t/how-to-handle-window-dialog-to-save-pdf-in-robot-framework/4767 "2022-09-30T11:53:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bk-user](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/bk-user/32/1446_2.png) [@bk-user](https://forum.robotframework.org/u/bk-user)\
**Post date:** [30 September 2022 11:53 UTC](https://forum.robotframework.org/t/how-to-handle-window-dialog-to-save-pdf-in-robot-framework/4767/1 "2022-09-30T11:53:25Z")

</div>

Hi,

I have automated my e2e flow using robot framework script.

In last page of my flow I have to perform steps like -

1. Press control + p
2. Click on save button as shown in below image  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/3/3f0a31398eebd0d96d289e97069b3423ba173491.png)
3. Then it asking me to enter path to save that PDF in the windows explorer as below  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/5/581f7d394338af510b76b61949643bee891ddfb3.png)

**Note** - Propose me solution for script should work on windows and linux environment

---

<div class="post-metadata">

**Author:** ![\_daryl](https://avatars.discourse-cdn.com/v4/letter/_/45deac/32.png) [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Post date:** [3 October 2022 17:39 UTC](https://forum.robotframework.org/t/how-to-handle-window-dialog-to-save-pdf-in-robot-framework/4767/2 "2022-10-03T17:39:21Z")

</div>

This might be of use:

> [@How to click on download of pdf and save inside browser windw in robot framrwork](https://forum.robotframework.org/t/how-to-click-on-download-of-pdf-and-save-inside-browser-windw-in-robot-framrwork/3705):
>
> Hi, Using robot framework 4.1.3 and python and chrome browser. I am not able to click download icon and save pdf which is inside of browser. Looks like pdf is inside the iFrame. Can you please suggest?
