Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@scaleleap/puppeteer
Advanced tools
![](https://raw.githubusercontent.com/ScaleLeap/puppeteer/master/docs/assets/header.png)
A Puppeteer convenience wrapper with stealth mode enabled by default.
$ npm i -s @scaleleap/puppeteer
Exports everything the same as puppeteer-core
package.
In addition to that, launch
method is amended to include an extra
option that can enable or
disable puppeteer-extra
behavior.
Also executablePath
is set, and headless
is set via PUPPETEER_HEADLESS
environment variable.
import { launch } from '@scaleleap/puppeteer'
const await browser = launch({
extra: {
// is true by default, but we are just showing the example
stealth: true
}
})
Clicks and waits for network request to complete and resolves.
The following environment variables are available:
PUPPETEER_EXECUTABLE_PATH
- the location of the Puppeteer executable.GOOGLE_CHROME_BIN
- same as above, but only used inside Heroku buildpack.PUPPETEER_HEADLESS
- Whether or not it should run in headless mode. Default: true
For Heroku deployments, use a heroku/google-chrome
buildpack.
This package will get the Chrome locations from the environment variable provided by the buildpack.
## make sure we are using NodeJS
heroku buildpacks:set heroku/nodejs
## now add chrome buildpack
heroku buildpacks:add heroku/google-chrome
This repository uses Conventional Commit style commit messages.
This project is licensed under the MIT License.
FAQs
![](https://raw.githubusercontent.com/ScaleLeap/puppeteer/master/docs/assets/header.png)
The npm package @scaleleap/puppeteer receives a total of 0 weekly downloads. As such, @scaleleap/puppeteer popularity was classified as not popular.
We found that @scaleleap/puppeteer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.