user3544163
user3544163

Reputation: 1

Error on Adding Chrome Driver in selenium 2.4.2

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.

Upvotes: 0

Views: 360

Answers (1)

Confused kangaroo
Confused kangaroo

Reputation: 137

Do the following -

chromeOptions.AddArgument("test-type")

Upvotes: -1

Related Questions