-
Notifications
You must be signed in to change notification settings - Fork 382
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
[Feature] Headless browser (chrome/chromium/firefox) #189
Comments
I agree, this sounds like an awesome Feature to add! Not exactly the same as what you're looking for, but want to point you to the existing I'm not sure if this is something that would interest you in implementing, but we have starter code for self-authoring Features if it interested you to give it a go. We're investing a lot in making it quick/easy for members of the community to self-author (spec), and would welcome any feedback on the process. https://github.com/devcontainers/feature-template Useful Feature collections can then be registered via PR and will appear in our tooling for the rest of the community to enjoy (see some existing community Features at the bottom of this list 😃 https://containers.dev/features) |
@joshspicer thanks for the links. I gave it a shot. But it seems there's an issue with running the tests. Not sure what is going on. When running locally I get this error:
Also where is the docs for |
I'm not sure about the local test execution, but the one in the action shows the following error: https://github.com/snebjorn/devcontainer-feature/actions/runs/3193079539/jobs/5211272135#step:4:151
That maps to this line in the install script: https://github.com/snebjorn/devcontainer-feature/blob/main/src/chromium/install.sh#L15, so I think the |
I copied the script from here https://github.com/devcontainers/features/blob/main/src/dotnet/install.sh#L33-L64 |
Hi @snebjorn, were you able to fix the test? Happy to take a look. |
Hi @samruddhikhandale I don't recall what was the error when running the test on github.
|
I'd love if I could add a headless browser to my dev container using the dev container features.
All (that I know) JS/TS testing frameworks need it. Manually adding it without having to resort to
--no-sandbox
is very complicated. I have yet to succeed at it 😞--no-sandbox
is considered insecure and strongly discouraged.The text was updated successfully, but these errors were encountered: