How to handle 'Time out receiving message from the renderer' in chrome driver?
Problem
Statement: While executing selenium test cases you may
encountered with below repetitive error message .
[1587832910.221][SEVERE]:
Timed out receiving message from renderer: 0.100
1) Although this message will not harm/ fail your
test cases, but it will unnecessarily increase your logs.
2) This error message will keep printing in your
console till the driver will find the WebElement . So the number of error message is
directly proportional to your WebDriver waiting time.
3) While executing your test cases in any devops pipeline (like Azure active directory), this will print as an error in your test
execution report (Let's say in Extent Report). However it will not affect your
final pass/fail count.
Note:
This issue has been logged as a bug for Selenium but has not yet been fixed
(Till today). You will get this issue especially in chrome driver version 80
and 81. (Till date I have experienced with these 2 versions of chrome)
Solution
Statement:
1) As this is a known-issue, it's not actually a
failure but a retry attempt to listen to chrome. The severity tag confuses the
user, and there is a fix on the way. You can also down grade to version 79 or
below to free from this error.
2) If you want to remove this error in chrome
version 80/81, then you have to add below line of code in your automation
script where you are initializing your chrome driver.
System.setProperty("webdriver.chrome.silentOutput", "true");
Code
snippet
System.setProperty("webdriver.chrome.silentOutput", "true");
System.setProperty("webdriver.chrome.driver","E:
\\browserDrivers\\chromedriver.exe");
WebDriver
driver= new ChromeDriver();
driver.navigate().to("URL");
..Hope this helps to solve your purpose!!
Great solutions for QA analysts. Thanks for the blog.
ReplyDeleteLooking for the Automation Testing Services provider in Dubai? Way2Smile Solutions DMCC is the best option for you. Reach now.
The manner in which you are clarifying is so smart and so syntax is extremely helpful and reasonable. Thanks for blogging.
ReplyDeleteBest Regards - Vigneshwaran P ( Mobile app development firm )
Nice blog
ReplyDeleteEcommerce development company in chennai
SAAS application development in Chennai
software development company chennai
Ecommerce SEO Agency in Chennai
Ecommerce development company in Chennai
custom software application development chennai
thank you for wonderful post, this is very nice article
ReplyDeletephotoshoot in Andaman
photographers in andaman
photoshoot at andaman
andaman photoshoot
pre wedding shoot in andaman
photoshoot in havelock Andaman
Thanks for sharing your useful information. your information was very useful for us. keep more shares like this.
ReplyDeleteBulk SMS Service in Chennai
bulk sms service chennai
sms service provider in chennai
bulk sms price in chennai
bulk sms provider chennai
bulk sms service provider in chennai
Such a wonderful post. Very nice informative blog. Thank you for sharing. Keep it up.
ReplyDeletesoftware development company chennai
mobile app development company chennai
web application development companies in chennai
hi, thanks for sharing a valuable information.
ReplyDeletewebsite Re-design in chennai
Best Software company in Chennai