Verify image using Web Driver
I am new to Selenium Web Driver.
I have a small requirement.I need to verify the image displayed on the web page.
Below is the HTML code from Firebug...
<img src="/images/masts/mast_book.gif" height="30" width="492">
Please help me regarding this.
Originally Posted by Rakesh Sahukari
If you want to verify the DOM is rendered, you ca simply use a selector and on the WebElement, use getAttribute() to check against various properties. For actually testing if the image is rendered correctly, you might want to use a visual tool such as Applitool Eyes.
Could you please elaborate about youre verification ??