'Chromedriver downloading .crx files
Hi When I open chromedriver it hits a URL
http://r4---sn-5hnekn7s.gvt1.com/edgedl/chromewebstore/L2Nocm9tZV9leHRlbnNpb24vYmxvYnMvNmRlQUFXU0o1UkNFTWx3aGRUUHBsWUJUZw/7819.902.0.1_pkedcjkdefgpdelpbcmbmeomcjbeemfm.crx?mh=8p&pl=21&shardbypass=sd&cm2rm=sn-2uja-3ip67z,sn-4wgk7z&req_id=30d96d0a0d8d4836&redirect_counter=2&cms_redirect=yes&cmsv=e&mip=182.190.10.173&mm=34&mn=sn-5hnekn7s&ms=ltu&mt=1645798118&mv=m&mvi=4&smhost=r4---sn-5hne6nzk.gvt1.com
and downloads the .crx file.
This has been pain for me as everytime I open I consume 5MBs of bandwidth and for bulk tests its a lot for me.
Is there a ways preventing this to happen using selenium python?
chrome_options = Options()
proxy = "--proxy-server=" + '127.0.0.1:24000'
chrome_options.add_argument(proxy)
chrome_options.headless = False
chrome_options.add_argument("--disable-dev-shm-usage")
chrome_options.add_argument("-disable-gpu")
chrome_options.add_argument('--blinkasettings=imagesEnabled=false')
driver = Chrome(options = chrome_options)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
