It is so obvious that we all know when ever we try to download files it open a new window where we have to locate the folder and save or by default it downloads in DOWNLOAD folder, and we all knew we cannot automate such scenario using Selenium. So what are the solution till day ? Using Java Robot Class Using AutoIt Using Sikuli Using Java Robot Class - Disadvantage: If other windows is opened it will type in the pointer which is not handy Using AutoIt - Disadvantage: It is not quite easy, we have to store an executable file and to do the operation which is time consuming Using Sikuli - Disadvantage: Sikuli works on the basis of pattern matching (OCR), If the Operating System changes then it will not work. It is very time consuming How about if we can do the task using Selenium itself ? Let's have a look on the code: Check out this link to download using Chrome Click Here ! That's all for now! Spread the Love! Share post ♥ Comments are...
Read up on Selenium
Wanna Learn Selenium in an easy way? Then, you are at the right place. This blog is not a step by step approach. This blog is all about learning and working on Selenium in a super easy and quick way. Happy learning!