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

[🚀 Feature]: Disable downloading of 60+MB language crx files #14342

Closed
skyhirider opened this issue Aug 4, 2024 · 6 comments
Closed

[🚀 Feature]: Disable downloading of 60+MB language crx files #14342

skyhirider opened this issue Aug 4, 2024 · 6 comments

Comments

@skyhirider
Copy link

Feature and motivation

When initializing Chrome, every instance downloads over 60MB of language files.

This not only wastes bandwidth, but also disk space as if you're quickly starting and closing Chrome sessions these files tend to be left over as they are silently downloaded into your default downloads folder.

https://www.reddit.com/r/chrome/comments/u78vd0/chrome_has_constantly_been_downloading_something/

This behavior can be manually disabled via

--disable-features=OptimizationGuideModelDownloading,OptimizationHintsFetching,OptimizationTargetPrediction,OptimizationHints

I would recommend having this on by default for all sessions created.

Resources
cypress-io/cypress#22622
https://issues.chromium.org/issues/40220332
chrome://download-internals/

Usage example

I would run the driver as always, but Chrome would not download these files by default.

It would be transparent to the user.

Copy link

github-actions bot commented Aug 4, 2024

@skyhirider, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Aug 8, 2024

We should not disable things in Chrome by default, which is why we have the method to add arguments ad hoc.

An option would be to do a small blog post informing users about this. Would you like to contribute to that?

I will close this issue now, but we can continue the conversation.

@diemol diemol closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
@skyhirider
Copy link
Author

If you tell me where and how to publish I can see if I can create an example that replicates it and write about it.

@diemol
Copy link
Member

diemol commented Aug 8, 2024

@skyhirider
Copy link
Author

@diemol here is the pull SeleniumHQ/seleniumhq.github.io#1853

Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants