Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Silent
Posts : 2
Join date : 2015-07-02

Correct way to wait until the page is ready Empty Correct way to wait until the page is ready

Thu Jul 02, 2015 4:44 am
Hello!

I'm using Selenium to write a basic scraper that's looking for links on every page.
The reason I'm using Selenium is that some sites are dynamically generated.
My problem is that I can't determine when a page is done loading before going over the DOM - as there's no specific element that I'm looking for. I need the whole page.

What is the correct way to do this?
If you are going to provide coding samples, it would be best if you used Python (though I can understand other languages as well).

Thanks
avatar
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Mon Jul 06, 2015 8:04 pm
Message reputation : 0% (1 vote)
Please post your question in - official WebDriver Forum
avatar
AgoBalan
Amateur
Amateur
Posts : 36
Join date : 2015-02-23

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Tue Jul 07, 2015 8:08 pm
driver gives control to user once the entire page is loaded,so in this case no need to worry about page loading at all..


In few cases,page refresh might happen by AJAX, at that time wait for element which appears in UI as a result of the AJAX query..

If not satisfied by the reply,, kinldy add more details to your question,,in which scenario u got struck..
avatar
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Wed Jul 08, 2015 3:45 pm
Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html
avatar
bajitha21
Posts : 1
Join date : 2015-07-09
http://www.seojobtraining.in/

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Thu Jul 09, 2015 1:16 pm
I'm using Selenium to write a basic scraper that's looking for links on every page.
The reason I'm using Selenium is that some sites are dynamically generated.
avatar
seluserqwb1
Active particpant
Active particpant
Posts : 20
Join date : 2015-06-29

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Tue Jul 14, 2015 6:00 pm
Please post your question in official webdriver forum  - 
www.seleniumtests.com/p/selenium-2-forum.html
avatar
AgoBalan
Amateur
Amateur
Posts : 36
Join date : 2015-02-23

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Tue Jul 14, 2015 6:11 pm
seluserqwb1 who the hell are you man spamming all threads. get last..
Sponsored content

Correct way to wait until the page is ready Empty Re: Correct way to wait until the page is ready

Back to top
Permissions in this forum:
You cannot reply to topics in this forum