question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

introduce puppeteer-core package

See original GitHub issue

Puppeteer 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:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
aslushnikovcommented, Sep 4, 2018

puppeteer-core has been published since v1.7.0.

1reaction
yanivefraimcommented, Apr 13, 2018

@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:

  1. Run puppeteer deploy as it is today (via Travis’ provider: npm) + have another script for deploying puppeteer-core
  2. Run both deployments using a script (Travis’ 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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found