A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/mochify-js below:

Mochify.js ยท GitHub

Headless browser testing for Mocha with plugins for Puppeteer, Playwright, WebDriver and JSDom.

This will install the Mochify CLI and the puppeteer driver in your current project and add it to the devDependencies:

npm i @mochify/cli @mochify/driver-puppeteer -D

Puppeteer will download a recent version of Chromium. If you want to skip the download and provide your own executable instead, define the PUPPETEER_SKIP_CHROMIUM_DOWNLOAD environment variable or add this to your package.json:

{
  "config": {
    "puppeteer_skip_chromium_download": true
  }
}

For proxy settings and other environment variables, see the Puppeteer documentation.

mochify --driver puppeteer './{,!(node_modules)/**}/*.test.js'
Workaround for Apple Silicon

Puppeteer fails to launch on M1. Follow these steps to work around:

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4