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
0
votes
1 answer

Heroku: xvfb buildpacks not installed

Hi StackOverflow community, I want to use xvfb buildpack in heroku. However, I always get the error in this link. I have a list of buildpacks added in heroku: * heroku/php * heroku/python * https:// github.com/heroku/heroku-buildpack-apt *…
Joseph D.
  • 11,804
  • 3
  • 34
  • 67
0
votes
1 answer

Error running mvn with selenium test

I'm new using Selenium and I find a problem after running mvn verify with my test included in my code. I'm using Java Junit with webdriver. Here is my test code: import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import…
Franco Papalardo
  • 371
  • 1
  • 2
  • 18
0
votes
0 answers

Need to run protractor tests with chrome using xvfb in RHEL 7.xx box

I need to run protractor tests with chrome on a headless mode in a remote RHEL 7.xx box. I realize that I need to have xvfb installed on the remote RHEl box and run using xvfb. Can somebody help me with this installation/configuration if something…
learner
  • 475
  • 3
  • 9
  • 23
0
votes
3 answers

Protractor Headless browser Testing using XVFB+Grunt runner on centos 7 linux distribution

Below is my gruntfile.js . I can run the protractor tests on UI using 'grunt protractor:run command. However, when i try running command ' grunt protractor-xvfb' so that i can run my tests in headless mode, the browser still launches and tests…
0
votes
2 answers

NightWatch Selenium Socket Hangup in Jenkins / Ubuntu16

Issue : We are running NightWatch tests in Jenkins, and once in a while, we get this error : [0;31mConnection refused! Is selenium server started? [0m[0;90m{ Error: socket hang up at createHangUpError (_http_client.js:253:15) at…
Beenish Khan
  • 1,571
  • 10
  • 18
0
votes
0 answers

Running new Firefox in Xvfb triggered by PHP shell_exec crashes

i have some php-script that shell_execute some bash-script. In this bash I start a Xvfb-Session and start some firefox in it and take a screenshot and then kill firefox and xvfb again. Its on an Ubuntu 14.04 server. It was running perfect until I…
Andi S.
  • 317
  • 1
  • 11
0
votes
0 answers

Running Selenium tests on a xvfb Not being able to connect

I'm trying to run a script which run several tests using Selenium Firefox webdriver. It works flawless in a local machine, but fail miserably running on a xvfb. The machine is a CentOS release 6.8 (Final) Firefox version 45.6.0 I'm using…
dfranca
  • 5,156
  • 2
  • 32
  • 60
0
votes
1 answer

Headless test automation with Firefox using Xvfb on linux Jenkins CI server

I am trying to use Xvfb with firefox to run test automation headless. However, I am getting the following message on starting xvfb. XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for…
fongfong
  • 175
  • 3
  • 14
0
votes
1 answer

Can't run Protractor tests with Chrome headless and Xvfb

I've been searching and trying different solutions for almost a week, but still not find the answer. First off, my environment: Server Debian 8 (no-GUI), Protractor 4.0.9, Selenium Server 2.53.1 (started using webdriver-manager), Chromedriver…
0
votes
1 answer

when running selenium tests via jenkins on headless firefox browser the screenshots captured is of 0 bytes

I am running my selenium tests via Jenkins on Headless Firefox browser on Cent OS. I have written a code to capture screenshots on failure which works absolutley fine on my local windows environment but when I run the same script using Jenkins on…
Harish
  • 11
  • 8
0
votes
1 answer

Running Xvfb from tox

I have some code that uses gtk so unless there is an active DISPLAY, the code raises an RuntimeError: could not open display… This happens when I run tox. Is there a way to run a Xvfb server from within tox? I did try adding /usr/bin/Xvfb :99…
Sardathrion - against SE abuse
  • 17,269
  • 27
  • 101
  • 156
0
votes
1 answer

Chrome driver throwing "org.openqa.selenium.remote.SessionNotFoundException" when running selenium tests heedlessly in linux?

Environment: Centos7, Chromedriver2.24, chrome-browser-stable version 2.53, selenium version 2.53.1 and xvfb When running tests parallel with 8 concurrent threads giving session not found exception.. Chrome-setup: DesiredCapabilities…
0
votes
0 answers

Cannot call firefox from selenium in python on server

I try to call firefox via selenium in Python on an AWS machine. I check the previous posts (this one and this one). However, their solutions do not directly work for me. I used the following code samples, but had the errors as mentioned…
Neverfaraway
  • 57
  • 3
  • 10
0
votes
1 answer

disable auto update in firefox using linux command line

I have been facing issues with auto updation of firefox on linux machine. I need a solution to disable auto update of firefox as i need to use firefox version below 41 to support my selenium version. I am writing a script to install and run Xvfb and…
Abhishek Tripathi
  • 1,211
  • 2
  • 15
  • 30
0
votes
1 answer

Missing kannada (or asian) fonts with xvfb and firefox on ubuntu installed

Kannada(or asian) fonts were not encoded correctly in firefox which is run by xvfb and operating system is ubuntu
somya bhargava
  • 101
  • 1
  • 12