Is there a way to check if specific image is visible?

  • To wait for an image you can use visualAssert

  • To wait for text (e. g. text on an image) you can use XClickText - the command uses OCR to wait for the text to appear

PS: Yes, assertElementPresent waits for a web page element (a HTML tag like <span>). So it can not be used here.

2 Likes