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

Traffic usage spiked after adding extension #6

Open
alexriabukha-qc opened this issue Jul 14, 2024 · 1 comment
Open

Traffic usage spiked after adding extension #6

alexriabukha-qc opened this issue Jul 14, 2024 · 1 comment

Comments

@alexriabukha-qc
Copy link

Good day, and thank you for the example - it's very useful. I've noticed that after adding this extension to Selenium Wire, there has been a significant increase in traffic to "https://optimizationguide-pa.googleapis.com/*", consuming around 17GB in just a few days. Have you experienced anything similar?

@sakanamk
Copy link
Contributor

Hey,
I believe the traffic to that URL likely happens due to Chrome's optimization and prediction services if you're using the Chrome WebDriver.
You can add these arguments to prevent it from making these requests:

chrome_options.add_argument("--disable-features=OptimizationHints")
chrome_options.add_argument("--disable-usage-stats")
chrome_options.add_argument("--disable-crash-reporter")

Let me know if this helps.

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

No branches or pull requests

2 participants