I\'m using Sikuli IDE. I\'d like to know what the command to take a screenshot is, so I can capture the screen at the end of a test.
Something like this
To make a screenshot of the window that has focus you simple can use:
focusWindow = App.focusedWindow() regionImage = capture(focusWindow) shutil.move(regionImage, os.path.join(r'C:\Screenshots', 'Dummy1.png'))