Headless chrome web driver too slow and unable to download file

a 夏天 提交于 2019-12-05 23:59:26

Diable the proxy amd try, It should increase perfromance

chrome_options.add_argument('--no-proxy-server') 

I found that it helped me.

In addition to iamsankalp89 answer:

chrome_options.add_argument('--no-proxy-server')

these additional options helped me to drastically increase the performance:

chrome_options.add_argument("--proxy-server='direct://'");
chrome_options.add_argument("--proxy-bypass-list=*");

(Source: from this issue on GitHub and this comment in particular)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!