QA Graphic

Webaii Finding Images

Using Webaii, here's how to validate that an image is loading correctly on a page:

// Validate Image on Page
Assert.IsNotNull(Find.ByAttributes<HtmlImage>("src=~logo.gif"), "Logo Image is not on the page");

Very useful to have as a code snip.