← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #240570]: Screenshot after test execution

 

Question #240570 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/240570

    Status: Open => Answered

RaiMan proposed the following answer:
def takeShot(filename):
    import shutil
    shutil.move(capture(SCREEN), filename))

... and then use 
takeShot("some-path/.../some-name.png")

and you will have the image on the filesystem at
some-path/.../some-name.png

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.