Quaatso Education

Home Forums Selenium Forum "Timed out waiting for page load"

"Timed out waiting for page load"

This topic contains 4 replies, has 2 voices, and was last updated by  Navin Mathur 1 year, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #3996

    Navin Mathur

    Hello everyone

    Website: https://www.tjc.co.uk/

    After opening the website through selenium ,home page opens successfully but when try to click on any link(for eg.Register) not able to do that.After running the script for around 20-30 mins it throws an error “Timed out waiting for page load” but i have already use implicit wait and page load time out of 30 secs.

    Please look this issue and provide the solution asap.



    Nandan Singh

    Hi Naveen,

    This website is very slow therefore you need to increase your timeout for 1 min or 2 min (depending on your internet connection speed). After this you can interact with the “register” element.

    Following code is working at my end :

    FirefoxDriver driver = new FirefoxDriver();

    driver.manage().timeouts().implicitlyWait(1, TimeUnit.MINUTES);

    driver.manage().timeouts().pageLoadTimeout(1, TimeUnit.MINUTES);

    // opening  website


    // find and click on register element



    Navin Mathur

    Hello nandan

    I am still facing the same problem ,as I applied the same code there .Can u pls look the same once .



    Nandan Singh

    Please paste your exception here in this forum.


    Navin Mathur

    Hello Nandan

    The exception which i am getting after not using pageload method is :

    xception in thread “main” org.openqa.selenium.TimeoutException: Timed out waiting for page load.
    Command duration or timeout: 1803.46 seconds
    Build info: version: ‘2.53.0’, revision: ’35ae25b’, time: ‘2016-03-15 16:57:40’
    System info: host: ‘Q3JPR00049’, ip: ‘’, os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.version: ‘1.8.0_77’
    Driver info: org.openqa.selenium.firefox.FirefoxDriver
    Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=45.0.1, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
    Session ID: 4cd907ff-4756-43c4-b495-00117d7ddbf2
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
    at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:316)
    at New.main(New.java:20)
    Caused by: org.openqa.selenium.TimeoutException: Timed out waiting for page load.
    Build info: version: ‘2.53.0’, revision: ’35ae25b’, time: ‘2016-03-15 16:57:40’
    System info: host: ‘Q3JPR00049’, ip: ‘’, os.name: ‘Windows 7’, os.arch: ‘x86’, os.version: ‘6.1’, java.version: ‘1.8.0_77’
    Driver info: driver.version: unknown
    at <anonymous class>.Utils.initWebLoadingListener/<(file:///C:/Users/nmathur1/AppData/Local/Temp/anonymous829254022672909947webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:9071)
    at <anonymous class>.WebLoadingListener/e(file:///C:/Users/nmathur1/AppData/Local/Temp/anonymous829254022672909947webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:5142)
    at <anonymous class>.WebLoadingListener/<(file:///C:/Users/nmathur1/AppData/Local/Temp/anonymous829254022672909947webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:5150)
    at <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify(file:///C:/Users/nmathur1/AppData/Local/Temp/anonymous829254022672909947webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:625)


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.