GithubHelp home page GithubHelp logo

Comments (4)

sindresorhus avatar sindresorhus commented on May 18, 2024

You can set a path to a custom Chromium with the launchOptions option: https://github.com/sindresorhus/capture-website#launchoptions

from capture-website.

platform-kit avatar platform-kit commented on May 18, 2024

Wow, thanks for the fast feedback.

Will the original Chrome included in the puppeteer dependency still be included? If so, if I need to remove it, would I need to fork this package and change the dependencies?

from capture-website.

platform-kit avatar platform-kit commented on May 18, 2024

Hi @sindresorhus , did some digging on this. It seems that capture-website can be deployed to Lambda by using puppeteer-core instead of puppeteer (gets rid of unnecessary bloat). Can you provide any insights as to how I might go about pointing the puppeteer references at puppeteer core, instead?

from capture-website.

sindresorhus avatar sindresorhus commented on May 18, 2024

There's no way to use puppeteer-core with this package. However, you could set the environment variable PUPPETEER_SKIP_CHROMIUM_DOWNLOAD to prevent downloading Chrome.

https://github.com/puppeteer/puppeteer/blob/main/docs/api.md#environment-variables

from capture-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.