0
votes

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.

2
Can you confirm if its 2.4.2 or 2.42? - Purus

2 Answers

0
votes

Try with an older chrome browser version. Most probably is because of Chrome browser version. some incompatibility issue. what is the currently version that you`re using?

0
votes

Do the following -

chromeOptions.AddArgument("test-type")