2

Can we run the test on our server and display the progress using the users browser ,So our servers have no graphics drivers, we run headless. Is it possible to run with the head on a remote browser ?

Hmahwish
  • 2,222
  • 8
  • 26
  • 45

1 Answers1

3

There is PhantomJS but with Protractor is buggy and a dead-end.

You can still use Chrome & Firefox headless through docker-selenium or, if you don't like Docker you can do it yourself with ubuntu-headless sample. Both solutions provide Chrome & Firefox by using Xvfb even though there is no real DISPLAY.

You can also use selenium in the cloud through a paid service like SauceLabs or BrowserStack.

In OSX and without docker you can try http://xquartz.macosforge.org/landing/

In OSX and without docker you can also try Mac OSX selenium headless solution

Community
  • 1
  • 1
Leo Gallucci
  • 16,355
  • 12
  • 77
  • 110