Smartproxy / Selenium-proxy-authentication

Example of username and password proxy authentication for use in Selenium
https://smartproxy.com/
MIT License
65 stars 13 forks source link

Traffic usage spiked after adding extension #6

Open alexriabukha-qc opened 1 month ago

alexriabukha-qc commented 1 month ago

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 commented 1 month ago

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.