Basic Selenium

How To Fix Timed Out Receiving Message From Renderer In Selenium

I often get this warning from chrome browser while running the test which can disturb console log, In this post I will guide you How To Fix Timed Out Receiving Message From Renderer In Selenium while running chrome browser.

 

To fix this issue you just need to add below property which can fix the issue

Note- If you are new to Selenium then kindly refer Step By Step Guide To Learn Selenium 

Solution 1-

System.setProperty(ChromeDriverService.CHROME_DRIVER_SILENT_OUTPUT_PROPERTY,“true”);

Official documentation for ChromeDriverService

Solution 2-

System.setProperty(“webdriver.chrome.silentOutput”,“true”);

If you observe the above code then we are setting a pre-defined property to true, which will suppress the warning.

 

 

How To Fix Timed Out Receiving Message From Renderer In Selenium

import org.openqa.selenium.WebDriver;

import org.openqa.selenium.chrome.ChromeDriver;

public class ChromeDemoWithoutWarning {

public static void main(String[] args) {

// setting up property to suppress the warning
System.setProperty("webdriver.chrome.silentOutput","true");

// set the chrome driver path- You can set the path as per your system path- for mac no extension required
// If you are working with windows then you need to provide path with .exe extension
System.setProperty("webdriver.chrome.driver", "/Users/mukeshotwani/Desktop/chromedriver");

// Start Chrome Driver session
WebDriver driver=new ChromeDriver();

// Maximize the screen
driver.manage().window().maximize();

// Open application
driver.get("http://www.google.com");

// quit the application- You can also use clos method
driver.quit();

}

}

This was a very short post regarding fixing this issue, if you need any other help then let me know in the comment section.

author-avatar

About Mukesh Otwani

I am Mukesh Otwani working professional in a beautiful city Bangalore India. I completed by BE from RGPV university Bhopal. I have passion towards automation testing since couple of years I started with Selenium then I got chance to work with other tools like Maven, Ant, Git, GitHub, Jenkins, Sikuli, Selenium Builder etc.

2 thoughts on “How To Fix Timed Out Receiving Message From Renderer In Selenium

  1. nirmala says:

    whats the package to import? giving error for System, no such package wwhen i run in pycharm.

    1. Hi Nirmala, you can use Eclipse or Intellij for Java. Pycharm you can use for Python. Are you looking for Selenium with Java or Selenium with Python ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.