← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #691363]: When I tried taking screenshoot, the screen turned black. I use Ubuntu 18.04 on Dell laptop without any other monitor attached.

 

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

Description changed to:
Hi.

When I tried taking screenshoot, the screen turned black. I use Ubuntu
18.04 on Dell laptop without any other monitor attached. I use openJDK
11.

I tried to follow question 127102 (https://answers.launchpad.net/sikuli/+question/127102)
and using the script in comment #2.

the message result is like this:

java.awt.Rectangle[x=0,y=0,width=1920,height=1080]
[error] Screen(1) not in valid range 0 to 0 - using primary 0
java.awt.Rectangle[x=0,y=0,width=1920,height=1080]
------ hover test s0
L[100,100]@S(0)
left and laptop

------ hover test s1
L[100,100]@S(0)
left and laptop

------ capture test s0
black
------ capture test s1
black
------ selectRegion test s0
None
L[466,405]@S(0)
------ click test s0
L[966,545]@S(0)
------ click test s1
L[955,580]@S(0)

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