Questions tagged [headless]

Headless systems are those which do not support standard user interface devices, such as monitors, keyboards and mice.

Headless systems are those which do not support standard user interface devices, such as monitors, keyboards and mice.

1191 questions
17
votes
2 answers

XDummy in Docker container

I am trying to run a X11 server inside a docker container by using the XDummy driver. However, I have problems getting it to work. The intended purpose is to perform headless rendering. I can get it to work using Xvfb, but I need RANDR support, and…
user1419305
  • 468
  • 8
  • 16
17
votes
5 answers

Python - Firefox Headless

I've spent the last few days messing around with Selenium, Tor, and Firefox as a combination for multiple tasks. I've managed to write a simple script in Python that takes control of Firefox through Selenium, while Firefox is connected to Tor for…
Dustin
  • 6,207
  • 19
  • 61
  • 93
16
votes
1 answer

Firefox headless --print-to-pdf option

Does Firefox headless include the option to print to PDF ? Chrome headless supports it, but im not sure if Firefox does.
litenull
  • 447
  • 1
  • 5
  • 11
16
votes
4 answers

Real headless browser

I am in charge of testing an enterprise web application that makes heavy use of AJAX. I need to build a system that allows continuous running of tests without human intervention. Currently I am mostly interested in load testing but I want the same…
user573225
  • 209
  • 1
  • 2
  • 6
14
votes
2 answers

Selenium and Headless Environment

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…
sdmythos_gr
  • 5,444
  • 3
  • 25
  • 25
13
votes
1 answer

Is it possible to run Selenium scripts without having an X server running, too?

I have a python script that uses selenium RC; specifically webdriver. I would love to have the script run as a post-commit hook, ideally through IE, Safari (if possible), Chrome & Firefox. But I'm not sure what I'd need to do, since every time I…
Zack Burt
  • 8,257
  • 10
  • 53
  • 81
13
votes
1 answer

Force headless chromium/chrome to use actual gpu instead of Google SwiftShader

I'm trying to print html to pdf using headless chromium (using puppeteer) and everything works fine except if html contains large png images (over 10.000x10.000px) the whole process of rendering page takes extremely long (up to half an hour, but if…
Danhoss
  • 131
  • 1
  • 1
  • 4
13
votes
1 answer

Headless Firefox in Selenium C#

I want to run firefox headless. Not hide the browser window or open it in a virtual desktop, Firefox supports headless mode by using "-headless" flag. Problem is I know how to do it in chrome but not in Firefox. My code: using System; using…
Biswajit Chopdar
  • 831
  • 5
  • 12
  • 31
13
votes
1 answer

Can chrome headless browser be used to save the complete web page with resources?

I am looking to use the chrome headless browser to replicate the 'Save As' functionality to save the complete web page with all its resources. Is there a way to do this? I tried the --print-to-pdf and --screenshot options and looking to explore the…
13
votes
1 answer

In continuous integration (headless env -> mac os X server), use a tool/lib which needs access to GUI, xvfb/display emulator/X11 forwarding

We have a Mac os x server (10.10.3) we use to run functional tests with Jenkins. We would like to use (in our tests) a tool/lib (sikulix for information) which uses under the hood java.awt.Robot class -java.awt.GraphicsEnvironment-. The problem is :…
Fanch
  • 3,274
  • 3
  • 20
  • 51
13
votes
2 answers

How to setup Android sdk from command-line on headless server?

So far Ive managed to download and install the SDK and its in my PATH. Problem now is that I can't run "android update sdk" since it expects to be connected to a display and Im connected to a remote headless server through ssh (its a build server so…
Eno
  • 10,730
  • 18
  • 53
  • 86
13
votes
2 answers

Eclipse: What is the minimum Eclipse installation needed for a headless PDE build?

I am currently using PDE build in headless mode to build my OSGI Bundle project. The PDE Antrunner task uses an Eclipse installation and I am just pointing it to my local Eclipse installation. unfortunatelly my eclipse installation is about 260MB…
Christoph
  • 3,980
  • 2
  • 40
  • 41
12
votes
3 answers

Headless environment error in java.awt.Robot class with MAC OS

I am trying to capture screen shots in my JavaFX application using Robot class, this is the code which I used in my application: Rectangle screenBounds = new Rectangle(Screen.getPrimary().getBounds().getWidth(), …
Shreyas Dave
  • 3,815
  • 3
  • 28
  • 57
11
votes
2 answers

Headless Chrome ( Puppeteer ) - how to get access to document node element?

I'm using phantomJs to parse some content, get some info from it (max image size on page, for example), etc. I've decided to move to puppeteer. And i had faced the issue - in my functions, that was running at phantomJs, they were working with…
Brissy
  • 349
  • 1
  • 2
  • 10
11
votes
8 answers

selenium tests fail against headless chrome

I am trying to get my selenium test automation to run against headless chrome so that I can move it to TeamCity. I have not had any luck. When I run it, Chrome does appear to run headlessly (no browser pops up), but I get a NoSuchElementException.…
dstaraster
  • 191
  • 1
  • 2
  • 7
1 2
3
79 80