Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Latest commit

 

History

History
73 lines (62 loc) · 2.52 KB

OUTPUT.md

File metadata and controls

73 lines (62 loc) · 2.52 KB

Save output

saveElement

await browser.imageComparison.saveElement(firstButton, 'example-element-tag');

Desktop

saveElement Desktop

Mobile

Android

saveElement Mobile

iOS

saveElement Mobile

saveScreen

await browser.imageComparison.saveScreen('example-page-tag');

Desktop

saveScreen Desktop

Mobile

Android ChromeDriver

saveScreen Mobile

Android nativeWebScreenshot

saveScreen Mobile

iOS

saveScreen Mobile

saveFullPageScreen

await browser.imageComparison.saveFullPageScreen('full-page-tag');

Desktop

saveFullPageScreens Desktop

Mobile

Android

saveFullPageScreens Mobile

iOS

saveFullPageScreens Mobile

Check output on failure

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 to Buttons

checkElement

await browser.imageComparison.checkElement('example-element-tag');

Desktop

checkElement Desktop

checkScreen

await browser.imageComparison.checkScreen('example-page-tag');

Desktop

checkScreen Desktop

checkFullPageScreens

await browser.imageComparison.checkFullPageScreen('full-page-tag');

Desktop

checkFullPageScreens Desktop

Blockouts

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

Android nativeWebScreenshot

saveFullPageScreens Mobile

iOS

saveFullPageScreens Mobile