Results 1 to 4 of 4
  1. #1
    vijaymsc is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default Find a webpage loaded or not

    Hi to all .. this is vijay...

    Is it possible to find a web page loaded completely using java code... I need to use this when i clicking a particular URL programatically.... i need to know weather all the element of that particular page loaded or not ??? Let me ASAP...

    Thanks...
    vijay....

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,641
    Rep Power
    7

    Default

    Not entirely sure what you are asking...loaded where? If you are loading the page programatically using URL and URLConnection, just check if you have completely read from the InputStream (for example by setting a flag to true when it is done).

  3. #3
    vijaymsc is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default hi doWhile

    Actually i navigating url one by one using java code with web driver.... while i loss the internet connection and when it reconnecting after 5 or ten minutes the program not continuing..... It shows showing the object of the firefox web driver lost its control... this is problem ....

  4. #4
    vijaymsc is offline Member
    Join Date
    Dec 2010
    Posts
    3
    Rep Power
    0

    Default

    Actually i navigating url one by one using java code with web driver.... while i loss the internet connection and when it reconnecting after 5 or ten minutes the program not continuing..... It shows showing the object of the firefox web driver lost its control... this is problem ....

Similar Threads

  1. How to unload previous class when it has loaded
    By luoluo in forum Advanced Java
    Replies: 4
    Last Post: 04-26-2010, 05:36 PM
  2. calling the servelet code when the page is loaded
    By shivakumari in forum Java Servlet
    Replies: 1
    Last Post: 04-01-2009, 11:39 AM
  3. Replies: 0
    Last Post: 02-15-2008, 08:41 AM
  4. Replies: 1
    Last Post: 08-08-2007, 02:42 PM
  5. newbie: the app is loaded but i can't see it
    By tamayo in forum New To Java
    Replies: 1
    Last Post: 07-21-2007, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •