takeScreenshot
saves a screenshot as a PNG file in the Maestro workspace.
- takeScreenshot:
path: LoginScreen # screenshot will be stored as LoginScreen.png
It can also be written in the short form:
- takeScreenshot: MainScreen # screenshot will be stored as MainScreen.png
The path is relative to the Maestro workspace directory, not to the flow file.