Selenium and Headless Environment

Posted by sdmythos_gr on Stack Overflow See other posts from Stack Overflow or by sdmythos_gr
Published on 2010-12-02T13:54:05Z Indexed on 2011/03/17 8:09 UTC
Read the original article Hit count: 669

I recently installed Python 2.7, Robot Framework and the Selenium Library (I still don't know if I succeded though...) on a Red Hat Server to run some test on a web application.

So I tried a simple test case using the robot framework to see if Selenium Library is functional, just to Open a web page, nothing more...

Selenium Server is up and running according to the result of ps, and firefox binaries are in the PATH...

Running the test case from the Robot Framework (with the pybot testcasename.tsv) I get an exception: ERROR: Problem capturing a screenshot to string: java.awt.AWTException: headless environment

So, what is the Headless Environment? Does anyone have an idea if there is something else that needs to be istalled or to be configured as well?

© Stack Overflow or respective owner

Related posts about exception

Related posts about selenium