Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect incompatible local Chrome versions when running puppeteer. #8512

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Jan 31, 2025

It looks like there is some known incompatibility with new chrome versions and the puppeteer package. Updating the code to check for version when attempting to run local chrome instance, and also removing the extra check from the CI environment (in case it upgraded the chrome version).

See xvrh/puppeteer-dart#364

@isoos isoos requested review from jonasfj and sigurdm January 31, 2025 09:27
if (mainVersion == null) continue;
// Main version is after the currently supported version, will fail.
// https://github.com/xvrh/puppeteer-dart/issues/364
if (mainVersion >= 132) continue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't we all soon only have versions after this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, I don't really know. We probably will, when we upgrade the puppeteer version next time.

@isoos isoos merged commit 144f2dd into dart-lang:master Jan 31, 2025
31 checks passed
@isoos isoos deleted the puppeteer branch January 31, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants