zinserjan / wdio-screenshot

A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.
MIT License
108 stars 43 forks source link

Hide statusbar in Hybrid app screenshot #82

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi

When taking a screenshot om Android I can't figure out how to omit the statusbar. Is anyone able to help with this? I assume this isn't possible but would be if the exclude functionality was implemented

zinserjan commented 6 years ago

Native/hybrid apps aren't supported, yet. I don't have any idea if this is possible.

Best way to research this is to collect various screenshots and dimensions and try to crop the bar away with the screenshot normalization tests. Screenshots are located here and a sample test to collect the data is here