Skip to content

yury-s/bisect-chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bisect-chrome

Basic Usage:

  • npx bisect-chrome

Advanced Usage:

  • npx bisect-chrome [--good <revision>] [--bad <revision>] [<script>]

Parameters:

  • --good revision that is known to be GOOD. Defaults to the latest revision
  • --bad revision that is known to be BAD. Defaults to 305043
  • <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.js

Use https://omahaproxy.appspot.com/ to find revisions.

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.

About

Like git bisect, but for Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%