sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56392
Re: [Question #694849]: Does Sikuli have a function to save a screenshot as png while test is running
Question #694849 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694849
Status: Open => Solved
Ali Ahmed confirmed that the question is solved:
Nevermind I found a solution.
import shutil
import os
some_region = SCREEN # for whole screen
#someRegion = App.focusedWindow() # for the frontmost windo
img = capture(some_region)
shutil.move(img,"/SikuliX/Result images/NameTest.png")
print("image is saved")
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.