Hi,

This is perhaps more of a question for a selenium mailing list but I
will try here first.

After updating my build so that it can run headlessly in Xvfb
everything is running fine apart from my call to
captureScreenshotAsString(). When I call this method I get the
following exception;

  com.thoughtworks.selenium.SeleniumException: ERROR: Problem
capturing a screenshot to string: java.awt.AWTException: headless
environment

Has anyone here experience of taking screenshots with tellurium in a
headless environment?

Shouldn't the solution just be ensuring the correct DISPLAY
environment variable is set when starting up selenium server?

If the answer to the last question is yes, how can I ensure tellurium
is setting this env variable correctly when starting up selenium?

Regards,

Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to