webdriverio-boneyard / webdrivercss

Regression testing tool for WebdriverIO v4
http://webdriver.io
MIT License
616 stars 106 forks source link

Screenshot on mobile devices #152

Closed AxelHo closed 8 years ago

AxelHo commented 8 years ago

If i test mobile devices on saucelabs for example desiredCapabilities: { platform: 'OS X 10.10', name: 'Applitools', version: '9.0', deviceName: "iPad Retina", deviceOrientation: "portrait" }

The stitching of the screenshot is not correct. The Browser Header and Footer is not removed.

issue

SamsonNelson commented 8 years ago

I am having the same issue - I have attempted multiple options and couldn't get it. I ended up using the exclude as a work around. Not very pretty but its better than nothing I guess. If there is a known solution that would be amazing!

tc_53682_buttons iphone6 gravy_component baseline

AxelHo commented 8 years ago

@SamsonNelson have a look at https://github.com/zinserjan/wdio-screenshot It's still in development, but Jan has promised to solve this problem

AxelHo commented 8 years ago

I jumped over to https://github.com/zinserjan/wdio-screenshot