I am using IE browser to work on my automation. I have to handle a pop up after click on a button which it might or might not appear.
So I use Image exist to handle this but apparently sometimes this pop up appear on the background so the image exist doesn’t work. The pop up still there but its not at the top of the screen. So it throws an error.
If a pop up appear, I will do certain step but if pop up does not appear it will do other steps. So its crucial for me to have the pop up to appear at the top of the screen also handling both situations.
How am I going to solve this issue?
Thanks in advance