Saturday, 30 August 2014

timeout: Timed out receiving message from renderer in Selenium and chrome

You may get exception saying - timeout: Timed out receiving message from renderer when working with Selenium web driver and chrome browser.

I fixed this exception using below statement in Java.

driver.manage().timeouts().pageLoadTimeout(60, TimeUnit.SECONDS);

I was getting the exception earlier when the page load time out was 20 seconds. I increased the page load time out to 60 seconds and it started working like a charm.

As a good practise, always make sure that page load time out is at least 60 seconds.

What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com

No comments:

Post a Comment

Buy Best Selenium Books

Contributors