← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #239356]: Using Sikuli tests on a headless remote VM

 

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

RaiMan proposed the following answer:
With the current implementation a Sikuli script will not even startup on
a headless machine, since the prereqs are checked at initialization (It
will be detected, that there is no physical screen available).

Sikuli currently has no features to access virtual screens, wherever and however they might be run.
So your "XVFB virtual display" cannot be accessed with the features of Sikuli.

But you might setup a Java program, that accesses the virtual display,
acquires screenshots and then searches images inside these screenshots
using the Java API of Sikuli (class Finder).

Again: if you want to use:
someRegion.find(someImage)

someRegion must be a rectangular area of pixels on a real screen.

SikuliX out of the box does not support virtual (or in memory) screens.

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