On adding the below codes in Selenium 2.4.2
System.setProperty("webdriver.chrome.driver","D://chromedriver_win32//chromedriver.exe"); WebDriver driver = new ChromeDriver();
chrome window gets opened but 'some yellow color alert message displayed as' - You are using an unsupported command-line flag:--ignore-certificate-errors. Stability and security will suffer.