Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Principle:Puppeteer Puppeteer Browser Version Resolution

From Leeroopedia
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

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment