Creating screenshots of the whole screen is not always desired, especially since the current wrapper implementation does not allow for screen selection or any other modifications related to the available CaptureSettings in FlaUI.
It is fairly easy to use the existing functionality for finding an Element based on its XPATH and the passing that found AutomationElement to the Screenshot capture functionality.
Creating screenshots of the whole screen is not always desired, especially since the current wrapper implementation does not allow for screen selection or any other modifications related to the available CaptureSettings in FlaUI.
It is fairly easy to use the existing functionality for finding an Element based on its XPATH and the passing that found AutomationElement to the Screenshot capture functionality.
I am already working on a PR to implement this functionality into this library in my fork: https://github.com/HackXIt/robotframework-flaui
The PR is also related to #192