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

Travis CI not recognizing large resolution on xvfb causing feature specs to fail

I am trying to get travis to pass my feature specs, however with xvfb default settings, it runs with a smaller window. As the site uses responsive webdesign, it means it's viewing the page as if it were on mobile. My tests fail because of this. I…
risa_risa
  • 727
  • 1
  • 8
  • 20
1
vote
2 answers

WebDriverException: Element is not clickable at point

Complete error org.openqa.selenium.WebDriverException: Element is not clickable at point (931, 23). Other element would receive the click: Running selenium tests using Jenkins in headless browser In following environment OS- CentOS 6 and Xvfb…
Saagar
  • 794
  • 3
  • 20
  • 41
1
vote
1 answer

Xvfb and Selenium temp files are not automatically deleted from /tmp (Ubuntu)

We have Buildbot on remote server to run python selenium tests. After a couple of days the tmp rubbish from XVFB and Selenium totaly consume all empty space and freeze the Buildbot activity. I used to clear /tmp it manualy with sudo rm -rf * in /tmp…
1
vote
1 answer

python script to call itself with xvfb

I've written a script that generates a phylogentic tree with the ete3 package, the script runs on a headless server thus it must be launched with xvfb-run (per here). I've setup the script to check (through a system call to ps) if it was called…
Constantino
  • 2,243
  • 2
  • 24
  • 41
1
vote
0 answers

installing firefox and xvfb on amazon linux

I am trying to add firefox on amazon linux since few days but I am not able to make it work. I want to use xvfb to run firefox as a headless browser. I installed both using sudo yum install packagecommand but when i try to run it as $ Xvfb :1 $…
Abhishek Tripathi
  • 1,211
  • 2
  • 15
  • 30
1
vote
1 answer

selenium tests fail: xvfb-run: error: Xvfb failed to start

I have this configuration for selenium testing in phpuni-environment.conf file [program:selenium] command=xvfb-run java -Dwebdriver.firefox.bin=/usr/bin/firefox -jar /usr/share/selenium/selenium-server-standalone.jar autostart=false ;…
asdfkjasdfjk
  • 3,784
  • 18
  • 64
  • 104
1
vote
0 answers

Selenium Python Firefox Xvfb Browser Creation / Disk Space Issues

Been trying to run a test using Selenium, Python, Firefox, and Xvfb. I constantly keep having issues with the browser not being able to create and running out of disk space after a few hours of running the test. Everywhere I read it says to use…
antfuentes87
  • 849
  • 3
  • 17
  • 34
1
vote
0 answers

Apache2 can't run xvfb-run on ubuntu 14.04 server

I have a Django project. I'am using xvfb on ubuntu 14.04 server with selenium and firefox to generate pdf from html. Below is the code sample which is inside a python script. cmd = 'xvfb-run -a python path/to/script.py' subprocess.call(cmd,…
TheDataGuy
  • 331
  • 3
  • 8
1
vote
1 answer

Configuring Xvfb to work with chromedriver

I'm using The Intern framework to run my Selenium tests. Now I want to run my tests with Google Chrome (chromedriver), but it requires virtual display to be configured. I'm thinking of using Xvfb for this. But I cant make the chromedriver to see…
Ksamp
  • 139
  • 2
  • 9
1
vote
0 answers

How to launch an R session with rpy2 that will use virtual framebuffer X11 server

I'm running R (3.2.2) on a Debian Jessie VPS thanks to rpy2 (2.6.1) through Python (2.7.10). I have a Flask (0.10.1) application launching R via rpy2 and then loading R package devEMF (2.0.0) to plot various graphics. The aim is to save vector…
Pierre Cordier
  • 494
  • 3
  • 17
1
vote
1 answer

Run instance of google chrome in background

I'm trying to run Google Chrome from terminal, and while it's running (my chrome extension will be navigating and extracting data) I want it to be invisible to the user. some kind of headless running. Xvfb doesn't work in that case (the window is…
Srol
  • 721
  • 2
  • 7
  • 16
1
vote
0 answers

Getting error when running mocha test with Xvfb and firefox headlessly in a docker container

I'm currently working in a docker container that runs an image of ubuntu. These are the series of commands I've used to installed Xvfb, firefox, and Nodejs: apt-get update apt-get install -y xorg xvfb firefox dbus-x11 xfonts-100dpi xfonts-75dpi…
azemPC
  • 264
  • 3
  • 15
1
vote
0 answers

Problems running Firefox with Xvfb

Required: I'm trying to run headless selenium (using PHPUnit) on fresh CentOS 7 minimal. Problem: It seems I installed everything correctly but firefox is not launching and my selenium web driver stuck at 14:45:31.646 INFO - Launching Firefox....…
Kapil Sharma
  • 10,135
  • 8
  • 37
  • 66
1
vote
2 answers

wmctrl not executable while running sikulix script in headless mode

I'm using Ubuntu 14.04 lts and sikulix 1.1.0. while running sikulix script in the ordinary way it's working great, but when i'm trying to use Xvfb just like suggested here, it's says that there is no wmctrl installed. and thats not true, this is the…
Srol
  • 721
  • 2
  • 7
  • 16
1
vote
0 answers

Wait for element visible/invisible when testing React with Capybara in headless Firefox?

I am doing testing for a React app using Capybara, selenium and headless Firefox to run on Jenkins server. I got some problems with verification of visible/invisible elements which didn't happen on normal Firefox in my local. it seems they didn't…
Huy Do
  • 470
  • 1
  • 7
  • 19