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 ?
Asked
Active
Viewed 426 times
1 Answers
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
-
Hi @Leo , can I use Chrome and Firefox even if Selenium RemoteWebDrive is not installed on the remote machine ? – Hmahwish Jul 07 '15 at 12:58
-
In the option docker-selenium Chrome&Firefox are installed inside the container. – Leo Gallucci Jul 07 '15 at 13:32
-
In ubuntu-headless you install them by following the instructions there. – Leo Gallucci Jul 07 '15 at 13:33
-
In SauceLabs or BrowserStack they install the browsers in their servers for you, that's what you pay for among other things. – Leo Gallucci Jul 07 '15 at 13:33