How to take screenshot from xvfb display centos 6 centos 7
To debug the tests in no display servers with XVFB display. Using ImageMagick
– Install imagemagick – sudo yum install ImageMagick
– Suppose the browser runs at display :99 using xvfb
Then
– In linux terminal type – export DISPLAY=:99
– Then type – “import -window root example.png”
The above command will create a screenshot of given display screen -in png format.
No images available.