// region has rectangle shape, in %, distance from left and top of the screen, width and height
await suitest.assert.image({
apiId: 'app-logo'
}).inRegion([40, 10, 20, 10]).accuracy(suitest.ACCURACY.HIGH).visible().timeout(2000);
Image comparison currently works reliably only for devices with support of screenshots over network or when capturing the image over the HDMI with the WingBox. If you want to use the Suitest Camera app or a USB camera, check the stream to ensure there are no reflections on the screen and that the content is in focus through the corresponding lens. Additionally, make sure that you set up high accuracy and define a region to achieve the highest possible reliability.
Suitest allows using several different image capture sources. They all differ in the capture quality, therefore in some cases it is impossible to make high quality comparison. Depending on the source, you should use appropriate accuracy level.