I am saving image from to my local system with selenium-webdriver
(using Robot class):-
- First time it save perfectly.
- When I run my script second time again then it tries to save same image with the same name but windows pop appear
The image with this name already exists. Do wish to save again
withOk
andCancel
button. How to handle this Ok button.