npx bisect-chrome [--manual] [--good <revision>] [--bad <revision>] [<script>]
--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.
npx bisect-chrome --good 577361 --bad 599821 simple.js
npx 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.