Selenium2library issue :: Error :message=TimeoutException: Message: Timed out waiting for page load.

528 views
Skip to first unread message

Adi Keshav

unread,
Jan 18, 2017, 2:04:27 AM1/18/17
to robotframework-users
Each time i visit a page i am getting an error from webdriver. How to solve this?

message=TimeoutException: Message: Timed out waiting for page load.

Tatu Aalto

unread,
Jan 18, 2017, 2:24:14 AM1/18/17
to adikes...@gmail.com, robotframework-users
Ugh

From selenium point of view, page load did took too much time and therefore selenium did raise an exception. There are two common solutions to your problem: 1) Make the page load faster 2) Increases the timeout value.

The former is usually a better solution, if the problem happens in your web application. Just find what is the bottleneck and do something to remove the bottleneck.

The later happens by using the selenium API, set_page_load_timeout [1], but unfortunately that API is not exposed as a keyword in Selenium2Library. But there is a issue [2], which explains how to use the selenium API from as a keyword.

Please note that there are many other uncommon reason why the error may happen and those are not explained.

On Jan 18, 2017 09:04, "Adi Keshav" <adikes...@gmail.com> wrote:
Each time i visit a page i am getting an error from webdriver. How to solve this?

message=TimeoutException: Message: Timed out waiting for page load.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages