When automating chrome browser using Selenium, we often get warning saying -
You are using an unsupported command-line flag: --ignore-certifcate-errors. Stability and security will suffer.
To fix this warning, you use below code while launching browser.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
You are using an unsupported command-line flag: --ignore-certifcate-errors. Stability and security will suffer.
To fix this warning, you use below code while launching browser.
ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--test-type"); driver = new ChromeDriver(chromeOptions);
So if we start chrome using above chrome option, that warning is not shown.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com
No comments:
Post a Comment