1.4.0 • Published 3 years ago
bisect-chrome v1.4.0
bisect-chrome
Basic Usage:
npx bisect-chrome
Advanced Usage:
npx bisect-chrome [--manual] [--good <revision>] [--bad <revision>] [<script>]
Parameters:
--manualmanually respond with "good" or "bad" instead of running script--goodrevision that is known to be GOOD. Defaults to the latest revision--badrevision that is known to be BAD. Defaults to 305043--shella shell script to run instead of a script path<script>path to a Puppeteer script that returns a non-zero code for BAD and 0 for GOOD.
Example:
npx bisect-chrome --good 577361 --bad 599821 simple.jsnpx bisect-chrome --good 577361 --bad 599821 --shell "npm run ctest"npx bisect-chrome --manual --good 577361 --bad 599821
Use https://omahaproxy.appspot.com/ to find revisions.
Note: The Chromium executable path is exposed to the script as the `CRPATH` environment variable.
If a script is specified, launching Puppeteer from within that script will use the current Chromium revision. Revisions older than 493957 won't work with modern Puppeteer.
This script was extracted from Puppeteer's bisect.js and then cleaned up a bit for public use.