Skip to main content

search

Query whether a remote resource exists and check if a target browser is downloadable.

Usage

pbvm search [-b <browser>] [-i <buildId>] [-m <mirror>] [-r <rule>]

Options

OptionShortDescription
--browser-bBrowser name: chrome, chromium, firefox
--build-id-iBrowser version
--mirror-mPath to a mirror rule file; defaults to .browsermr in CWD then global
--rule-rCustom mirror template params in URL search format: a=1&b=2, replaces template variables

Output

Browser info (local state)

FieldDescription
platformCurrent platform
browserBrowser name
buildIdVersion
installedWhether installed in the local Store

Search info (remote state)

FieldDescription
existsWhether the remote resource exists
urlDownload URL
statusHTTP response status code
redirectedWhether a redirect occurred
sizeFile size (bytes)
contentTypeContent type
lastModifiedRemote file last-modified time
etagResource ETag
acceptRangesWhether range requests are supported

Examples

# Search for a specific Chrome version
pbvm search -b chrome -i 134.0.6998.35

# Search for a Chromium revision
pbvm search -b chromium -i 1435764

# Interactive mode
pbvm search

Typical use cases

  • Verify a version: confirm a buildId is valid before create
  • Check availability: verify the remote CDN is reachable
  • Get file size: estimate download time and disk space