[IMP] browsers: provision specific Chrome version for tours#155
Merged
Conversation
This migrates the Chrome provisioning logic from odev-plugin-ai to odev. When running tours (clic_all or tours tags), odev will now automatically: 1. Download a specific Chrome version (145.0.7632.116) if missing. 2. Use a wrapper script with optimized rendering flags for consistency. Assisted-by: gemini-3-flash <noreply@google.com>
brinkflew
reviewed
Apr 28, 2026
brinkflew
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provision a specific Chrome version using @puppeteer/browsers to ensure consistent rendering during Odoo tours.
The logic installs Chrome into ~/.odev/browsers/chrome/145.0.7632.116 and generates a wrapper script in ~/.odev/tmp/odoo-chrome-wrapper with specific flags:
This wrapper is automatically used by odev test when clic_all or tours tags are present, by setting the ODOO_BROWSER_BIN environment variable.