Skip to content

feat(chromium): download the chromium binary based on a major version #368

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

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

cnishina
Copy link
Contributor

Experimental feature to download the chromium browser based on the
ChromeDriver version. This might be help to prevent browser / browser
driver mismatch when downloading ChromeDriver. In the new scenario, you
could download ChromeDriver 73.x.x.x and Chromium 73.

@cnishina
Copy link
Contributor Author

Note: Do not merge yet. I think my test isn't quite there yet.

@cnishina cnishina force-pushed the chromium branch 2 times, most recently from 0b23461 to 7f0cf4b Compare April 24, 2019 21:08
@cnishina cnishina changed the title chore(chromium): download the chromium binary based on a major version feat(chromium): download the chromium binary based on a major version Apr 24, 2019
const configFilePath = path.resolve(this.outDir, this.configFileName);
return getBinaryPathFromConfig(configFilePath, version);
} catch (_) {
return null;
Copy link
Contributor

Choose a reason for hiding this comment

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

What does it mean if there's an exception here? Maybe at least log an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's probably a good idea. This is a pattern used for all providers so I'll create a new bug to work on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Experimental feature to download the chromium browser based on the
ChromeDriver version. This might be help to prevent browser / browser
driver mismatch when downloading ChromeDriver. In the new scenario, you
could download ChromeDriver 73.x.x.x and Chromium 73.
@cnishina cnishina merged commit 0b8679b into angular:master Jun 5, 2019
dgp1130 added a commit that referenced this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants