Wait for ImgTag to load
Posted: Sun Mar 18, 2012 5:43 pm
Hello,
I have a webpage with an image. The image takes some time to load (around 1-2 seconds).
Is it possible to somehow validate that the image is loaded?
Right now the only safe option for me is to wait with Delay.Duration (5000)
Validate.Exists on the adapter always returns true. It seems to me, the reason is that the webpage itself is loaded before the image.
Thank you!
I have a webpage with an image. The image takes some time to load (around 1-2 seconds).
Is it possible to somehow validate that the image is loaded?
Right now the only safe option for me is to wait with Delay.Duration (5000)
Validate.Exists on the adapter always returns true. It seems to me, the reason is that the webpage itself is loaded before the image.
Thank you!