await browser.imageComparison.saveElement(firstButton, 'example-element-tag');
await browser.imageComparison.saveScreen('example-page-tag');
await browser.imageComparison.saveFullPageScreen('full-page-tag');
NOTE: Only the diff of a browser is shown here, but the output is the same for Android and iOS. The first button text has been changed from
Button
toButtons
await browser.imageComparison.checkElement('example-element-tag');
await browser.imageComparison.checkScreen('example-page-tag');
await browser.imageComparison.checkFullPageScreen('full-page-tag');
NOTE: Not all blockout options are shown here, but below you will find an output for Android NativeWebScreenshot and iOS where the status+address and toolbar are blocked out