How to handle "Time out receiving message from the renderer" in chrome driver?



  • I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, but it occurs inconsistently. Is there any specific reasons for this issue?.



  • It looks like this issue has been logged as a bug for Selenium but has not yet been fixed: Issue 402: webdriver hangs on page load and does not give control back for script execution

    They are looking for a specific repro, maybe you could help them out by posting your specific repro?

    One person reported that removing any driver timeout options from their code solved the problem:

    //driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS);
    //driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);
    //driver.manage().timeouts().setScriptTimeout(60, TimeUnit.SECONDS);
    


Suggested Topics