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 ?
So what are the solution till day ?
- Using Java Robot Class
- Using AutoIt
- Using Sikuli
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:
So what does the code do actually?
That's all for now!
Spread the Love! Share post ♥ Comments are always welcome!
Thanks for being here!
Happy learning!
That's all for now!
Spread the Love! Share post ♥ Comments are always welcome!
Thanks for being here!
Happy learning!
Comments
Post a Comment