Questions tagged [xvfb]

Xvfb; X virtual framebuffer, is an X11 server that can run graphic applications without a physical screen.

Xvfb is an X11 server that executes all the graphical operations in memory without showing any screen output.

It acts exactly like any other X widow server but with the difference that no output is shown so Xvfb does not require the computer it is running on to a screen.

It can be used for many things like remote controlling browsers in web testing, or background tasks running for creating screenshots of programs or web pages.

543 questions
1
vote
1 answer

How to build a google-chrome wrapper script which acts like the binary?

I'm using selenium and chromedriver to control some chrome instances under debian linux. I would like to make these chrome instances headless and i also would like to start them on different virtual displays via Xvfb which have different…
whitenexx
  • 1,350
  • 2
  • 25
  • 53
1
vote
0 answers

Selenium WebDriver Firefox connect error for Linux OS

I have tried all solution suggested by Google. But still struggling to below issue. I have setup of PHPUnit-Selenium based automation framework using headless Firefox on RedHat Linux Selenium Log Error : Caused by:…
Deep123
  • 391
  • 1
  • 5
  • 18
1
vote
2 answers

How can I manipulate screen output?

I'm planning a new project tha would probably involve the manipulation of screen outputs on Linux systems. The idea is to use a camera to detect a person standing in front of a projector and remove that part of the image that would be projected onto…
FooTheBar
  • 818
  • 1
  • 9
  • 20
1
vote
1 answer

Protractor Chrome with XVFB on OSX

I want to run the Protractor E2E Test for my Angular Application on a Bamboo Linux Build Server using XFVB to run Chrome resp. Chromium headless, exactly like in this gist: https://gist.github.com/nwinkler/f0928740e7ae0e7477dd. But first I wanted…
MethDamon
  • 55
  • 11
1
vote
0 answers

TestFX cannot localize node during Travis CI build after tested application was opened another window

I am working on simple java standalone application with GUI created with JavaFX 8. I wrote some tests of GUI with TestFX framework (version 3.1.0). On my local machine tests works fine, but they are failed on Travis CI environment. Please take a…
It'sMe
  • 125
  • 1
  • 15
1
vote
1 answer

Xvfbwrapper module returns exception

I'm trying to use a Firefox web driver as a headless driver in Windows - Python. I am using Selenium. I've tried many things but nothing works so I tried xvfbwrapper which should run Firefox in virtual screen. from xvfbwrapper import Xvfb vdisplay…
Milano
  • 18,048
  • 37
  • 153
  • 353
1
vote
0 answers

Selenium Web Driver does not work on xvfb

I want to run my Robot Framework tests which include Selenium2Library keywords on an Ubuntu remote machine so they should be run without a display. At first I just tried to run a simple test and get following result: WebDriverException: Message: The…
1
vote
0 answers

Karma + Xvfb + Firefox does not work anymore

I've got a problem with my CI setup. Since a couple of days Firefox doesn't run our Jasmine tests with Karma anymore. But Chrome does - so the error should not depend on the tests themselves. On my development environment it runs as well. I did not…
Sebastian Woinar
  • 440
  • 1
  • 8
  • 15
1
vote
1 answer

Ruby headless watir-webdriver Xvfb zombies

I have two apps running on a single server that perform headless browsing tasks. Each time one browses, the Xvfb process is not dying and instead becomes a zombie. I can confirm this with the following script. require 'headless' require…
Sam
  • 1,205
  • 1
  • 21
  • 39
1
vote
0 answers

CutyCapt pages not loading from https sites

I'm using CutyCapt (http://cutycapt.sourceforge.net/) on CentOS 7 to take a screenshot of my website. I'm trying to screen capture this site: xmountwashington.appspot.com/csc.html and it works pretty well with this command: xvfb-run…
WXMan
  • 310
  • 1
  • 12
1
vote
1 answer

Setting a test using xvfb + PyCharm + vagrant

I have this environment: PyCharm running on Mac OS X Python3.4 environment running on Ubuntu Server in a vagrant instance I want to be able to run/debug tests using PyCharm. So far I can do it but I recently added selenium to my tests now I need…
chachan
  • 2,382
  • 1
  • 26
  • 41
1
vote
0 answers

Render a swf file in Firefox on Linux using Xvfb

I want to extract the last frame from the swf file using Java. However, after trying several ways to to do that, one way it worked is by using selenium to launch a browser, load the swf, wait for the last frame and take the snapshot. It works fine…
kosta
  • 4,302
  • 10
  • 50
  • 104
1
vote
1 answer

SlimerJS window is not opening instead it is showing message in alertbox

We have installed slimerjs,phantomjs,casperjs on VM(we are accessing it through 'putty').When we tried to execute the casperjs test suite by following command: casperjs test --engine=slimerjs 'testsuite name' --username --password we are getting an…
GANA
  • 138
  • 8
1
vote
1 answer

pyvirtualdisplay on Amazon EC2 instance

I am trying to run selenium on Amazon EC2. I am using pyvirtualdisplay as xvfb wrapper. I ran the following commands in python. from pyvirtualdisplay import Display from selenium import webdriver display = Display(visible=0, size=(1024,…
nishantsingh
  • 4,537
  • 5
  • 25
  • 51
1
vote
0 answers

Webdriver does not start in Jenkins

I have the following setup: Debian 7 (Headless with Xvfb) Xvfb started via daemon at :0 Selenium 2.44 (declared in pom.xml) Mozilla Firefox 35.0.1 (installed from firefox-mozilla-build) Jenkins 1.598 I'm getting this exception when running the…
Neill Lima
  • 331
  • 3
  • 11