-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
Sometimes we want to have a screenshot only of a certain UI element, e.g. a Modal, or a group of ui elements. Sometimes we want to have a screenshot of the whole page. There should be a way to describe which part of the screen to capture.
It should be robust to changes in the UI, e.g. if we change the size of an element, we don't want to adjust the screenshot configuration, too. That may not be possible in all cases.
We could probably just use the API defined here: https://devexpress.github.io/testcafe/documentation/test-api/actions/take-screenshot.html