takeScreenshot

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

Path

The path is relative to the Maestro workspace directory, not to the flow file.

Last updated

Run your Maestro tests in the cloud

Get Robin →