Explore Courses Blog Tutorials Interview Questions
0 votes
in DevOps and Agile by (19.7k points)

When using Chrome Selenium-WebDriver, it will output diagnostic output when the servers are started:

Started ChromeDriver (v2.0) on port 9515

I do not want to see these messages, how can I suppress them?

I tried this:

ChromeOptions options = new ChromeOptions();


IWebDriver Driver = new ChromeDriver(options);

But diagnostic output is not suppress. 

1 Answer

0 votes
by (62.9k points)

Use this code:

ChromeOptions options = new ChromeOptions();


IWebDriver driver = new ChromeDriver(options);

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s Selenium online training

Browse Categories