wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
11.19k stars 1.92k forks source link

Window screenshots #3170

Open d4vidi opened 2 years ago

d4vidi commented 2 years ago

Is your feature request related to a problem? Please describe. On top of:

device.takeScreenshot()

and:

element(...).takeScreenshot()

Introduce the ability to take the screenshot of the window.

This would provide a good way to leverage the benefits of the device.takeScreenshot() API, without the need to go through the excruciating time/battery/etc. configuration phase.

noomorph commented 1 year ago

Yes please! 🥳 When can we do that? :)