Principle:Puppeteer Puppeteer Browser Version Resolution
| Knowledge Sources | |
|---|---|
| Domains | Browser_Management, Version_Control |
| Last Updated | 2026-02-11 23:00 GMT |
Overview
A resolution process that converts a browser release tag (e.g., 'stable', 'canary') into a concrete build identifier suitable for download.
Description
Browser Version Resolution translates human-readable version tags into specific build IDs. Different browsers use different versioning schemes:
- Chrome: Uses version numbers (e.g., "131.0.6778.33")
- Firefox: Uses version numbers with channel suffixes (e.g., "134.0a1")
- Chromium: Uses revision numbers (e.g., "1083080")
Tags like 'stable', 'canary', 'latest', 'beta', and 'dev' are resolved by querying browser vendor APIs for the current version of that channel.
Usage
Use version resolution when you need to install a specific browser version or the latest version of a release channel. Pass the resolved build ID to the install function.
Theoretical Basis
# Version resolution
resolveBuildId(browser, platform, tag) →
if tag is version string: return tag
if tag is channel ('stable', 'canary'):
query vendor API for current version of channel
return version string