I recently installed Python 2.7, Robot Framework and the Selenium Library (I still don't know if I succeeded though...) on a Red Hat Server to run some test on a web application.
So I tried a simple test case using 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 installed or to be configured as well?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…