← Back to team overview

sikuli-driver team mailing list archive

[Question #703405]: Screen goes black when trying to take a screenshot using sikulix IDE on Redhat 8.6

 

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

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.