-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node-firefox with --headless rather than XVFB #567
Comments
Actually ... there is a big difference, in headless you can't enable extensions in chrome. So the experience in headless is not exactly the same as with a "real" browser. That's actually what selenium is about I think, be as close to a real experience as possible for UI automation. |
Pretty sure you can in Firefox, so the point's moot |
That's a goal for the headless feature in Firefox as well: to run the full Firefox browser in a way that is as similar as possible to a user's experience of headed Firefox. Any differences between headed and headless Firefox (besides headlessness, of course) are thus considered to be Firefox bugs and should be reported via this bug reporting form. For example, see bug 1375585 - Support WebGL in headless mode. Here's the full list of open bugs. (Note: I'm the product manager for headless browsing in Firefox.) |
Are you saying we are able to run Firefox without Xvfb in headless mode? |
@adiohana yes but you need to configure it correctly |
any documentation to follow for this? |
@graingert could you please share how to get it working with headless? |
@graingert I've hit the same wall where running
What else needs to be done to configure headless properly? |
My solution was upgrading to Firefox 59. I was using Firefox 52 which didn't have proper support for |
Hi all, We just made a change in the images and introduces the env var
If you do that, and check the running processes in the container, you'll see:
So
and for Chrome:
Therefore you can now run the images without Xvfb. I will comment again when the images with this change are released and pushed to Docker Hub. |
Firefox is headless as well as chrome. No need for XVFB anywhere at all now
The text was updated successfully, but these errors were encountered: