
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@mochify/driver-puppeteer
Advanced tools
Run tests in Puppeteer.
Use this driver with the Mochify CLI to run Mocha tests in Puppeteer. See Mochify if you are looking for Mochify drivers for other browser testing environments.
Install the package from npm:
npm i @mochify/driver-puppeteer -D
and pass it to the CLI:
mochify --driver puppeteer ...
The driver allows the following options to be set:
stderr: Defines the stream the test output will be written to. Defaults to process.stderr
ignoreHTTPSErrors: Whether to ignore HTTPS errors during navigation. Defaults to false.
executablePath: The optional path of the Chromium binary to be used. Defaults to process.env.PUPPETEER_EXECUTABLE_PATH to work around https://github.com/puppeteer/puppeteer/issues/6957. In case neither the env var nor a value is given, Puppeteer uses the bundled Chromium version.
args: An optional array of command line flags to pass to Chromium. --allow-insecure-localhost and --disable-dev-shm-usage will always be used in addition to the given values.
url: Run tests in the context of the given URL. Defaults to an empty document served using the file: scheme.
In addition to the driver options documented above, driver-puppeteer allows you to pass through all of Puppeteer's other launchOptions using the defaults as described here.
FAQs
Puppeteer driver for Mochify
The npm package @mochify/driver-puppeteer receives a total of 85 weekly downloads. As such, @mochify/driver-puppeteer popularity was classified as not popular.
We found that @mochify/driver-puppeteer demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.