System hangs while using chromedriver 2.20 for chrome browser automation

Hi,

I am using chromedriver 2.20 for chrome browser automation. But system hangs when the execution starts. Tried with chromedriver 2.19 & chromedriver 2.19 also.

Driver initialization:

System.setProperty(“webdriver.chrome.driver”, rootDir+ “/resources/drivers/chromedriver.exe”);
driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
driver.manage().deleteAllCookies();

System Config:
Intel core i7 processor, 64bit OS, RAM: 16GB

Please suggest any solution.

Thanks in advance. :smile: