introduce puppeteer-core package
See original GitHub issuePuppeteer automatically downloads Chrome. This is great, I wish I could use this feature for my tests running in Karma as well, and there are probably more use cases.
I think it would be nice if the Chrome downloader would be extracted from puppeteer, so more tools can depend on it. The export should probably just be the path of the node executable.
E.g.:
const chromePath = require('chrome')
console.log(chromePath) // Something like '/app/node_modules/chrome/bin' or '/app/node_modules/.bin/google-chrome'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:11 (11 by maintainers)
Top Results From Across the Web
puppeteer-core - npm
Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol.
Read more >Practical Puppeteer: Playing with Puppeteer Core package
Today we will try to use Puppeteer Core (package name puppeteer-core ), a version of Puppeteer that doesn't download Chromium by default. It ......
Read more >Puppeteer vs. puppeteer-core - Educative.io
The package is a lightweight version of Puppeteer that can launch an existing browser installation or connect to a remote one. It does...
Read more >Puppeteer quick start - Chrome Developers
puppeteer -core is intended to be a lightweight version of Puppeteer for launching an existing browser installation or for connecting to a remote ......
Read more >Puppeteer-core NPM
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
puppeteer-core
has been published since v1.7.0.@aslushnikov -
I guess we’re not only ones to have this problem:
https://github.com/travis-ci/travis-ci/issues/5676
I’m still trying to find a way to run two different deployments from one repo/package using Travis’
provider: npm
. Not sure this is possible.The alternatives (as far as I can tell) are:
puppeteer
deploy as it is today (via Travis’provider: npm
) + have another script for deployingpuppeteer-core
deploy: script
feature or just adding a 'deploy` script to package.json scripts)Any thoughts (maybe I miss something here)?
P.S: just making sure - our release versions are being run manually?