Skip to content
Snippets Groups Projects

Add a possibility to pass extra arguments to puppeteer

Closed Boris Budini requested to merge master into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Boris Budini added 1 commit

    added 1 commit

    • 77ef1248 - Pass to puppeteer any set of additional arguments

    Compare with previous version

    By Myroslava on 2020-12-09T13:39:35 (imported from GitLab)

  • Boris Budini changed title from Add --no-sandbox cli option for launching browser with --no-sandbox flag to Add a possibility to pass extra arguments to puppeteer

    changed title from Add --no-sandbox cli option for launching browser with --no-sandbox flag to Add a possibility to pass extra arguments to puppeteer

    By Myroslava on 2020-12-09T14:23:45 (imported from GitLab)

  • Boris Budini changed the description

    changed the description

    By Myroslava on 2020-12-09T14:23:45 (imported from GitLab)

  • Boris Budini added 1 commit

    added 1 commit

    Compare with previous version

    By Myroslava on 2020-12-09T14:25:05 (imported from GitLab)

    • To add one piece of context for why this is useful: by default, Puppeteer tries to create a sandbox, and therefore requires passing an argument such as --security-opt 'seccomp=seccomp.json' in order to run inside Docker, as the README mentions. Amazon ECS does not currently support passing this argument, and as such, it is not currently possible to run paged-cli on ECS.

      This issue can be avoided by passing the --no-sandbox flag to Puppeteer. This PR would allow passing this flag, and would also generally make it easier to run paged-cli in more contexts, as long as those contexts are supported by Puppeteer itself.

      By Gal Niv on 2021-01-25T19:03:52 (imported from GitLab)

    • This totally makes sense. Thanks for the PR.

      I believe that @fchasen has some backlog to catch up, but this should definitely makes it way to the code.

      By julien on 2021-01-25T19:03:52 (imported from GitLab)

    • Please register or sign in to reply
  • Any progress on this? This feature would allow pagedjs-cli to work on GKE as well :)

    By Pep on 2021-05-01T16:20:44 (imported from GitLab)

  • Boris Budini mentioned in merge request !20 (merged)

    mentioned in merge request !20 (merged)

    By Fred Chasen on 2021-05-18T05:55:51 (imported from GitLab)

  • I somehow merged this without out the changes locally, I've recreated the changed and merged them again in https://gitlab.pagedmedia.org/tools/pagedjs-cli/merge_requests/20

    Sorry about that, very strange!

    By Fred Chasen on 2021-05-18T05:57:46 (imported from GitLab)

  • closed

    By Fred Chasen on 2021-05-18T06:14:16 (imported from GitLab)

Please register or sign in to reply