-
Notifications
You must be signed in to change notification settings - Fork 5
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
Consider setting MOZ_HEADLESS
env var to 1
#3
Comments
@McSneaky I wonder is it due to latest 0.29.0 upgrade or was true for previous versions too? |
Sadly no idea 😐 . The day I made the issue was the first time I ever used it |
@McSneaky well, maybe a connection parameters should have some parameters to run in headless mode? I don't know the webdriver specifics, but in our builds it works OK out-of-the-box:
Also, you can always use I don't feel like it's something that should be baked into the image. But mentioning this issue in README makes sense. Would you like to submit a PR? |
@tyranron Hmm, that's odd The command I used which caused problem: Using copy-paste of that first example in https://github.com/jonhoo/fantoccini#examples to test I'll file in PR to mention it in readme 👍 |
@McSneaky yeah, the guess was right. Thanks for the PR! |
Aah, that's cool! Didn't know about I think the issue can be closed, since there are already 2 solutions for it in here and there's no real need to keep it open anymore |
Co-authored-by: tyranron <[email protected]>
Without adding this environment variable every attempt to connect fails with error:
Not sure if it's intentional or not. Based on readme it feels like it should be headless and not require display output
The text was updated successfully, but these errors were encountered: