Wdio-visual-regression-service fails to recognize extended commands and execute against native apps. Based on the error output below it appears that only web browsers may be supported? My setup is webdriverio 4.7.1 and wdio-visual-regression-service 0.8.0.
browser.checkViewport is not a function
browser.checkDocument is not a function
browser.checkElement is not a function
[12:19:53] COMMAND POST "/api/appium/wd/hub/session/d8ec18d2-e4e9-44dc-8b27-bcdfd6b22d83/execute"
[12:19:53] DATA {"script":"return (function getUserAgent() {\n return window.navigator.userAgent;\n}).apply(null, arguments)","args":[]}
[12:19:53] COMMAND GET "/api/appium/wd/hub/session/d8ec18d2-e4e9-44dc-8b27-bcdfd6b22d83/screenshot"
[12:19:53] DATA {}
[12:20:01] RESULT "iVBORw0KGgoAAAANSUhEUgAACgAAAAWgCAYAAACSABrfAACAAElEQVR4AezBeXRc9Znw+e9z761SbZKqtJd2S7Ityfu+YeTYAgMGQoclJCEkMbGTTM50z3SnJzNzOulp3j
Nn3u73v+nznu4EcE9DIIEEAmENYAwmMbZBmJjFNniRZcuWF1m7qlRV9/5manJ0onYbb9j ... (1533650 more bytes)
[12:20:01] Saved screenshot: ERROR__2017-08-16T19-19-53.254Z.png
Wdio-visual-regression-service fails to recognize extended commands and execute against native apps. Based on the error output below it appears that only web browsers may be supported? My setup is webdriverio 4.7.1 and wdio-visual-regression-service 0.8.0.
browser.checkViewport is not a function browser.checkDocument is not a function browser.checkElement is not a function
[12:19:53] COMMAND POST "/api/appium/wd/hub/session/d8ec18d2-e4e9-44dc-8b27-bcdfd6b22d83/execute" [12:19:53] DATA {"script":"return (function getUserAgent() {\n return window.navigator.userAgent;\n}).apply(null, arguments)","args":[]} [12:19:53] COMMAND GET "/api/appium/wd/hub/session/d8ec18d2-e4e9-44dc-8b27-bcdfd6b22d83/screenshot" [12:19:53] DATA {} [12:20:01] RESULT "iVBORw0KGgoAAAANSUhEUgAACgAAAAWgCAYAAACSABrfAACAAElEQVR4AezBeXRc9Znw+e9z761SbZKqtJd2S7Ityfu+YeTYAgMGQoclJCEkMbGTTM50z3SnJzNzOulp3j Nn3u73v+nznu4EcE9DIIEEAmENYAwmMbZBmJjFNniRZcuWF1m7qlRV9/5manJ0onYbb9j ... (1533650 more bytes) [12:20:01] Saved screenshot: ERROR__2017-08-16T19-19-53.254Z.png