Rselenium - Popup
问题 I want to download a file from a website using RSelenium, with Firefox browser. I do everything correctly (navigate, select the correct element and write what I want); now I click the "download" button, then a firefox popup opens and ask me if I want to download the file or "open with..." something else. Unfortunately I cannot write an example due to privacy constraints. My question is: how can I switch to the popup window / alert and click "OK" when needed? I tried the following methods with