Chromedriver is extremely slow on a specific machine using Selenium Grid and .net

夙愿已清 提交于 2019-12-02 20:22:27

I ran into a similar issue where chromedriver was slow in some machines and it turned out to be a proxy issue. Disabling "Automatically detect settings" under Chrome://settings >Change proxy settings> LAN Settings> made webdriver execute commands faster in chrome for me.

My proxy settings were not using automatic detection, but I found the following helped a lot. The time it took to start the driver went down from 43 seconds to 1 second

driver = new ChromeDriver(new ChromeOptions{Proxy = null}); 
SkorpEN

Bug link in chromedriver issues This is long lasting issue that got lowest priority. But as more user will vote for it maybe someone will fix it. It could also be releated to Parsing of proxy configuration is not standard compliant which will be fixed soon.

This code solved the problem for me for Chrome 75 on macOS 10.14.3

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