Skip to content
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

Headless issue with root user. #131

Closed
nullenc0de opened this issue Nov 7, 2022 · 2 comments · Fixed by #132 or #163
Closed

Headless issue with root user. #131

nullenc0de opened this issue Nov 7, 2022 · 2 comments · Fixed by #132 or #163
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@nullenc0de
Copy link

-hl wont work if your root. But -sc seems to work. You might need to make a --no-sandbox flag for the root only users of the world.

image

@nullenc0de nullenc0de added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Nov 7, 2022
@parthmalhotra
Copy link
Member

parthmalhotra commented Nov 7, 2022

@ehsandeep : Two new flags can be added for the headless browser :

-hns,-headless-no-sandbox                                  Passes the --no-sandbox flag to chromium
-hoa,-headless-optional-arguments                          Passes optional arguments to chromium

@ehsandeep ehsandeep added this to the v0.0.2 milestone Nov 9, 2022
ehsandeep added a commit that referenced this issue Nov 11, 2022
* Headless issue with root user. #131

* Linting

* Linting

* Add input check

* misc option update

* linting

* Fix flag names in check

* readme update

Co-authored-by: sandeep <[email protected]>
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Nov 11, 2022
@ehsandeep
Copy link
Member

@nullenc0de @parthmalhotra this is now fixed in the dev branch with #132

new options added:-

   -ho, -headless-options string[]  start headless chrome with additional options
   -nos, -no-sandbox                start headless chrome in --no-sandbox mode

@ehsandeep ehsandeep linked a pull request Nov 11, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants