Selenium Chrome (version 80 & 81) warnings

Since the release of Chrome version 80, we all have been getting the ‘Timeout warning’. It repeats itself until the browser is opened. Do you want to get rid of selenium chrome driver warnings?

Here is the simple solution.
Add the below line of code while setting up the driver properties.

System.setProperty("webdriver.chrome.silentOutput", "true");
System.setProperty("webdriver.chrome.silentOutput", "true"); 
System.setProperty("webdriver.chrome.silentOutput", "true");

Enter fullscreen mode Exit fullscreen mode

It’s a known bug in the versions 80&81 of Chrome browser. Though it will be fixed in upcoming releases, if you don’t want to downgrade to version 79 or below, this will help.

原文链接:Selenium Chrome (version 80 & 81) warnings

© 版权声明
THE END
喜欢就支持一下吧
点赞11 分享
Do not find excuses for failure, to chase success reasons.
不要找失败的借口,去追成功的理由
评论 抢沙发

请登录后发表评论

    暂无评论内容