← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #703405]: [Linux] Screen goes black when trying to take a screenshot using sikulix IDE

 

Question #703405 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/703405

Description changed to:
accepted bug ---- follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/568
----------------------------------------------------

Problem:
Screen goes black when trying to take a screenshot using sikulix IDE on Redhat 8.6

sikulix version: 2.0.4
I have launched sikulix IDE  using "java -jar sikulixide-2.0.4.jar" command.
Trying to take a screen shot. But when I click on the button screen goes black completely and a text on top of it in white colour which says "Select an Image". that text disappears after sometime.

I have tried to capture the screen using below code and that output also
complete black image.

screen = Screen()
scr_img = screen.capture(screen.getBounds())
scr_img.save("<path>","test")

Please help here.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.